#284A10#284A10

#284A10 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.094 H 135.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#284A10
RGBrgb(40, 74, 16)
HSLhsl(95, 64%, 18%)
HSVhsv(95, 78%, 29%)
CMYKcmyk(45.9%, 0%, 78.4%, 71%)
CIE-LABlab(27.81, -23.80, 29.24)
CIE-LCHlch(27.81, 37.70, 129.14°)
OKLaboklab(36.97% -0.0664 0.0662)
OKLCHoklch(36.97% 0.094 135.1)
XYZxyz(3.4173, 5.3859, 1.3496)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A10 #32104A
analogous
#454A10 #284A10 #104A15
triadic
#284A10 #10284A #4A1028
tetradic
#284A10 #10454A #32104A #4A1510
square
#284A10 #10454A #32104A #4A1510
split-complementary
#284A10 #15104A #4A1045
monochromatic
#0E1905 #0E1905 #284A10 #437C1B #5EAF26

Accessibility & contrast

On white

10.11
#284A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#284A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A10
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A10#FFFFFF#000000##FFFFFF
##284A101.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4307
Deuteranopia (green-blind)
#484115
Tritanopia (blue-blind)
#27473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284a10;
/* rgb */ color: rgb(40, 74, 16);
/* oklch */ color: oklch(37.0% 0.094 135.1);
Tailwind
colors: {
  custom: {
    50: '#657d52',
    500: '#284a10',
    950: '#000000',
  },
}
SCSS
$custom: #284a10;
$custom-light: #657d52;
$custom-dark: #000000;
JSON
{
  "hex": "#284a10",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 95.172,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36967,
    "c": 0.09373,
    "h": 135.1
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#284A10
secondary
#623284
accent
#40E7A2
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284A10

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

Preview Lab → · Contrast checker → · Palette generator →

#284A10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva