#284A0A#284A0A

#284A0A is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 36.9% C 0.098 H 134.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#284A0A
RGBrgb(40, 74, 10)
HSLhsl(92, 76%, 16%)
HSVhsv(92, 86%, 29%)
CMYKcmyk(45.9%, 0%, 86.5%, 71%)
CIE-LABlab(27.77, -24.24, 31.63)
CIE-LCHlch(27.77, 39.85, 127.47°)
OKLaboklab(36.92% -0.0681 0.0701)
OKLCHoklch(36.92% 0.098 134.1)
XYZxyz(3.3786, 5.3704, 1.1457)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A0A #2C0A4A
analogous
#484A0A #284A0A #0A4A0C
triadic
#284A0A #0A284A #4A0A28
tetradic
#284A0A #0A484A #2C0A4A #4A0C0A
square
#284A0A #0A484A #2C0A4A #4A0C0A
split-complementary
#284A0A #0C0A4A #4A0A48
monochromatic
#0F1B04 #0F1B04 #284A0A #458011 #62B619

Accessibility & contrast

On white

10.12
#284A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#284A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A0A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A0A#FFFFFF#000000##FFFFFF
##284A0A1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#494111
Tritanopia (blue-blind)
#28473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284a0a;
/* rgb */ color: rgb(40, 74, 10);
/* oklch */ color: oklch(36.9% 0.098 134.1);
Tailwind
colors: {
  custom: {
    50: '#667d4f',
    500: '#284a0a',
    950: '#000000',
  },
}
SCSS
$custom: #284a0a;
$custom-light: #667d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#284a0a",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 91.875,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36919,
    "c": 0.09773,
    "h": 134.1
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#284A0A
secondary
#5B2987
accent
#35F39A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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