#284914#284914

#284914 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.7% C 0.089 H 135.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#284914
RGBrgb(40, 73, 20)
HSLhsl(97, 57%, 18%)
HSVhsv(97, 73%, 29%)
CMYKcmyk(45.2%, 0%, 72.6%, 71.4%)
CIE-LABlab(27.48, -22.93, 27.02)
CIE-LCHlch(27.48, 35.44, 130.32°)
OKLaboklab(36.71% -0.0637 0.0621)
OKLCHoklch(36.71% 0.089 135.7)
XYZxyz(3.3838, 5.2665, 1.4999)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284914 #351449
analogous
#424914 #284914 #14491A
triadic
#284914 #142849 #491428
tetradic
#284914 #144249 #351449 #491A14
square
#284914 #144249 #351449 #491A14
split-complementary
#284914 #1A1449 #491442
monochromatic
#0D1807 #0E1907 #284914 #427921 #5DA92E

Accessibility & contrast

On white

10.23
#284914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#284914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284914
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284914#FFFFFF#000000##FFFFFF
##2849141.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430D
Deuteranopia (green-blind)
#474018
Tritanopia (blue-blind)
#27463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284914;
/* rgb */ color: rgb(40, 73, 20);
/* oklch */ color: oklch(36.7% 0.089 135.7);
Tailwind
colors: {
  custom: {
    50: '#657c54',
    500: '#284914',
    950: '#000000',
  },
}
SCSS
$custom: #284914;
$custom-light: #657c54;
$custom-dark: #000000;
JSON
{
  "hex": "#284914",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 20
  },
  "hsl": {
    "h": 97.358,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36711,
    "c": 0.08897,
    "h": 135.7
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#284914
secondary
#653881
accent
#48E0A7
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284914

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

Preview Lab → · Contrast checker → · Palette generator →

#284914 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva