#284A0E#284A0E

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

Color values

HEX#284A0E
RGBrgb(40, 74, 14)
HSLhsl(94, 68%, 17%)
HSVhsv(94, 81%, 29%)
CMYKcmyk(45.9%, 0%, 81.1%, 71%)
CIE-LABlab(27.79, -23.96, 30.09)
CIE-LCHlch(27.79, 38.47, 128.53°)
OKLaboklab(36.95% -0.067 0.0676)
OKLCHoklch(36.95% 0.095 134.7)
XYZxyz(3.4030, 5.3802, 1.2746)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A0E #300E4A
analogous
#464A0E #284A0E #0E4A12
triadic
#284A0E #0E284A #4A0E28
tetradic
#284A0E #0E464A #300E4A #4A120E
square
#284A0E #0E464A #300E4A #4A120E
split-complementary
#284A0E #120E4A #4A0E46
monochromatic
#0E1A05 #0E1A05 #284A0E #447D18 #60B121

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284A0E#FFFFFF#000000##FFFFFF
##284A0E1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4304
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#27473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284a0e;
/* rgb */ color: rgb(40, 74, 14);
/* oklch */ color: oklch(36.9% 0.095 134.7);
Tailwind
colors: {
  custom: {
    50: '#667d51',
    500: '#284a0e',
    950: '#000000',
  },
}
SCSS
$custom: #284a0e;
$custom-light: #667d51;
$custom-dark: #000000;
JSON
{
  "hex": "#284a0e",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 94,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36949,
    "c": 0.09518,
    "h": 134.7
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#284A0E
secondary
#602F85
accent
#3DEBA0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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