#284B14#284B14

#284B14 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.092 H 136.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#284B14
RGBrgb(40, 75, 20)
HSLhsl(98, 58%, 19%)
HSVhsv(98, 73%, 29%)
CMYKcmyk(46.7%, 0%, 73.3%, 70.6%)
CIE-LABlab(28.20, -23.91, 27.80)
CIE-LCHlch(28.20, 36.67, 130.70°)
OKLaboklab(37.3% -0.0664 0.0638)
OKLCHoklch(37.3% 0.092 136.2)
XYZxyz(3.5173, 5.5336, 1.5444)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B14 #37144B
analogous
#434B14 #284B14 #144B1B
triadic
#284B14 #14284B #4B1428
tetradic
#284B14 #14434B #37144B #4B1B14
square
#284B14 #14434B #37144B #4B1B14
split-complementary
#284B14 #1B144B #4B1443
monochromatic
#0D1806 #0E1B07 #284B14 #427B21 #5CAC2E

Accessibility & contrast

On white

9.97
#284B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#284B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B14
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B14#FFFFFF#000000##FFFFFF
##284B141.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440D
Deuteranopia (green-blind)
#494119
Tritanopia (blue-blind)
#274840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b14;
/* rgb */ color: rgb(40, 75, 20);
/* oklch */ color: oklch(37.3% 0.092 136.2);
Tailwind
colors: {
  custom: {
    50: '#657d55',
    500: '#284b14',
    950: '#000000',
  },
}
SCSS
$custom: #284b14;
$custom-light: #657d55;
$custom-dark: #000000;
JSON
{
  "hex": "#284b14",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 20
  },
  "hsl": {
    "h": 98.182,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.09203,
    "h": 136.2
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#284B14
secondary
#683883
accent
#47E1A9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284B14

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

Preview Lab → · Contrast checker → · Palette generator →

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