#284B0E#284B0E

#284B0E is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.097 H 135.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#284B0E
RGBrgb(40, 75, 14)
HSLhsl(94, 69%, 17%)
HSVhsv(94, 81%, 29%)
CMYKcmyk(46.7%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.15, -24.44, 30.45)
CIE-LCHlch(28.15, 39.05, 128.75°)
OKLaboklab(37.25% -0.0683 0.0684)
OKLCHoklch(37.25% 0.097 135)
XYZxyz(3.4703, 5.5148, 1.2970)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B0E #310E4B
analogous
#474B0E #284B0E #0E4B12
triadic
#284B0E #0E284B #4B0E28
tetradic
#284B0E #0E474B #310E4B #4B120E
square
#284B0E #0E474B #310E4B #4B120E
split-complementary
#284B0E #120E4B #4B0E47
monochromatic
#0E1A05 #0E1A05 #284B0E #447F18 #5FB221

Accessibility & contrast

On white

9.99
#284B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#284B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B0E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B0E#FFFFFF#000000##FFFFFF
##284B0E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#27483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284b0e;
/* rgb */ color: rgb(40, 75, 14);
/* oklch */ color: oklch(37.2% 0.097 135.0);
Tailwind
colors: {
  custom: {
    50: '#667d51',
    500: '#284b0e',
    950: '#000000',
  },
}
SCSS
$custom: #284b0e;
$custom-light: #667d51;
$custom-dark: #000000;
JSON
{
  "hex": "#284b0e",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 94.426,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37246,
    "c": 0.09663,
    "h": 135
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#284B0E
secondary
#612F86
accent
#3CEBA1
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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