#284010#284010

#284010 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.0% C 0.078 H 132.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#284010
RGBrgb(40, 64, 16)
HSLhsl(90, 60%, 16%)
HSVhsv(90, 75%, 25%)
CMYKcmyk(37.5%, 0%, 75%, 74.9%)
CIE-LABlab(24.18, -18.72, 25.46)
CIE-LCHlch(24.18, 31.60, 126.33°)
OKLaboklab(34% -0.0526 0.0582)
OKLCHoklch(34% 0.078 132.1)
XYZxyz(2.8020, 4.1552, 1.1445)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284010 #281040
analogous
#404010 #284010 #104010
triadic
#284010 #102840 #401028
tetradic
#284010 #104040 #281040 #401010
square
#284010 #104040 #281040 #401010
split-complementary
#284010 #101040 #401040
monochromatic
#0F1806 #0F1806 #284010 #47711C #65A228

Accessibility & contrast

On white

11.47
#284010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#284010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284010
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284010#FFFFFF#000000##FFFFFF
##2840101.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0A
Deuteranopia (green-blind)
#403914
Tritanopia (blue-blind)
#293D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #284010;
/* rgb */ color: rgb(40, 64, 16);
/* oklch */ color: oklch(34.0% 0.078 132.1);
Tailwind
colors: {
  custom: {
    50: '#647551',
    500: '#284010',
    950: '#000000',
  },
}
SCSS
$custom: #284010;
$custom-light: #647551;
$custom-dark: #000000;
JSON
{
  "hex": "#284010",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 90,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34002,
    "c": 0.07846,
    "h": 132.1
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#284010
secondary
#56327A
accent
#45E394
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #284010

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

Preview Lab → · Contrast checker → · Palette generator →

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