#284F14#284F14

#284F14 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.098 H 136.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#284F14
RGBrgb(40, 79, 20)
HSLhsl(100, 60%, 19%)
HSVhsv(100, 75%, 31%)
CMYKcmyk(49.4%, 0%, 74.7%, 69%)
CIE-LABlab(29.65, -25.83, 29.33)
CIE-LCHlch(29.65, 39.08, 131.36°)
OKLaboklab(38.49% -0.0716 0.067)
OKLCHoklch(38.49% 0.098 136.9)
XYZxyz(3.7972, 6.0934, 1.6377)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F14 #3B144F
analogous
#464F14 #284F14 #144F1E
triadic
#284F14 #14284F #4F1428
tetradic
#284F14 #14464F #3B144F #4F1E14
square
#284F14 #14464F #3B144F #4F1E14
split-complementary
#284F14 #1E144F #4F1446
monochromatic
#0C1806 #0F1E08 #284F14 #418020 #59B12D

Accessibility & contrast

On white

9.46
#284F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#284F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F14
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F14#FFFFFF#000000##FFFFFF
##284F141.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480C
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#264C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284f14;
/* rgb */ color: rgb(40, 79, 20);
/* oklch */ color: oklch(38.5% 0.098 136.9);
Tailwind
colors: {
  custom: {
    50: '#668155',
    500: '#284f14',
    950: '#000000',
  },
}
SCSS
$custom: #284f14;
$custom-light: #668155;
$custom-dark: #000000;
JSON
{
  "hex": "#284f14",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 99.661,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38485,
    "c": 0.09801,
    "h": 136.9
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#284F14
secondary
#6C3887
accent
#45E3AD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284F14

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

Preview Lab → · Contrast checker → · Palette generator →

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