#283D34

Closest named color: Onyx (#343A40). oklch(33.9% 0.031 166.1), rgb(40, 61, 52).

Aa

White text reads best on this color (11.61:1).

About this color

#283D34 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.031 and its hue 166°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.033 away. White text reads best on it, at 11.61:1.

Hue familyGreens
Lightnessdark (34%)
Chromamuted (0.031)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.80:1
White text11.61:1

Values

HEX#283D34
RGBrgb(40, 61, 52)
HSLhsl(154, 21%, 20%)
OKLCHoklch(33.9% 0.031 166.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #283D34 11.61:1 AAA Lc -100.4 Preferred for body text
Black text on #283D34 1.80:1 Fails Lc 0.0 Not readable
#283D34 text on white 11.61:1 AAA Lc 96.7 Preferred for body text
#283D34 text on black 1.80:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E6EBE9

    oklch(93.6% 0.006 170.4)

  3. Step 200

    200

    #D2DCD7

    oklch(88.5% 0.013 164.8)

  4. Step 300

    300

    #B3C6BD

    oklch(80.9% 0.024 165.7)

  5. Step 400

    400

    #8BA89B

    oklch(70.6% 0.037 166.4)

  6. Step 500

    500

    #6E9383

    oklch(63.1% 0.048 166.5)

  7. Step 600

    600

    #567D6C

    oklch(55.5% 0.051 165.7)

  8. Step 700

    700

    #466A5A

    oklch(49.2% 0.049 165)

  9. Step 800

    800

    #3A564A

    oklch(42.7% 0.039 166.1)

  10. Step 900

    900 (this color)

    #283D34

    oklch(33.9% 0.031 166.1)

  11. Step 950

    950

    #1D2A24

    oklch(27.1% 0.021 164.8)

Export this scale for Tailwind in the Tailwind colors tool

#283D34 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#3C3A340.031
Deuteranopia (no green cones)#3838350.029
Tritanopia (no blue cones)#233D3A0.011
Achromatopsia (no color)#3939390.032

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #283D34

    #283D34

    oklch(33.9% 0.031 166.1)

  • #44313B

    #44313B

    oklch(33.9% 0.032 346)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283D34

    #283D34

    oklch(33.9% 0.031 166.1)

  • #303C2B

    #303C2B

    oklch(34% 0.033 136.6)

  • #243D3D

    #243D3D

    oklch(34% 0.031 195.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #283D34

    #283D34

    oklch(33.9% 0.031 166.1)

  • #3E3343

    #3E3343

    oklch(33.9% 0.031 315.2)

  • #473132

    #473132

    oklch(33.9% 0.032 15.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283D34

    #283D34

    oklch(33.9% 0.031 166.1)

  • #363647

    #363647

    oklch(34% 0.03 284.7)

  • #46332A

    #46332A

    oklch(34% 0.032 46.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283D34

    #283D34

    oklch(33.9% 0.031 166.1)

  • #2D3948

    #2D3948

    oklch(34% 0.031 254.2)

  • #44313B

    #44313B

    oklch(33.9% 0.032 346)

  • #413625

    #413625

    oklch(34% 0.032 78.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #283D34, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #283D34 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.