#283204#283204

#283204 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.7% C 0.067 H 121.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#283204
RGBrgb(40, 50, 4)
HSLhsl(73, 85%, 11%)
HSVhsv(73, 92%, 20%)
CMYKcmyk(20%, 0%, 92%, 80.4%)
CIE-LABlab(18.98, -11.86, 25.04)
CIE-LCHlch(18.98, 27.71, 115.34°)
OKLaboklab(29.75% -0.0351 0.0574)
OKLCHoklch(29.75% 0.067 121.5)
XYZxyz(2.0376, 2.7411, 0.5366)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283204 #0E0432
analogous
#322504 #283204 #113204
triadic
#283204 #042832 #320428
tetradic
#283204 #043225 #0E0432 #320411
square
#283204 #043225 #0E0432 #320411
split-complementary
#283204 #041132 #250432
monochromatic
#171C02 #171C02 #283204 #556B09 #83A30D

Accessibility & contrast

On white

13.56
#283204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#283204 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283204
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283204#FFFFFF#000000##FFFFFF
##2832041.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#352E08
Tritanopia (blue-blind)
#2B2F29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #283204;
/* rgb */ color: rgb(40, 50, 4);
/* oklch */ color: oklch(29.7% 0.067 121.5);
Tailwind
colors: {
  custom: {
    50: '#636949',
    500: '#283204',
    950: '#000000',
  },
}
SCSS
$custom: #283204;
$custom-light: #636949;
$custom-dark: #000000;
JSON
{
  "hex": "#283204",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 4
  },
  "hsl": {
    "h": 73.043,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29748,
    "c": 0.06729,
    "h": 121.5
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#283204
secondary
#301D74
accent
#2CFB59
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283204

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#283204 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva