#283B04#283B04

#283B04 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.080 H 127.7°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#283B04
RGBrgb(40, 59, 4)
HSLhsl(81, 87%, 12%)
HSVhsv(81, 93%, 23%)
CMYKcmyk(32.2%, 0%, 93.2%, 76.9%)
CIE-LABlab(22.26, -16.99, 28.68)
CIE-LCHlch(22.26, 33.34, 120.64°)
OKLaboklab(32.41% -0.0491 0.0636)
OKLCHoklch(32.41% 0.08 127.7)
XYZxyz(2.4610, 3.5878, 0.6777)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B04 #17043B
analogous
#3B3304 #283B04 #0D3B04
triadic
#283B04 #04283B #3B0428
tetradic
#283B04 #043B33 #17043B #3B040D
square
#283B04 #043B33 #17043B #3B040D
split-complementary
#283B04 #040D3B #33043B
monochromatic
#131D02 #131D02 #283B04 #4F7408 #76AE0C

Accessibility & contrast

On white

12.23
#283B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#283B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B04
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B04#FFFFFF#000000##FFFFFF
##283B041.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3C3509
Tritanopia (blue-blind)
#2A3831
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283b04;
/* rgb */ color: rgb(40, 59, 4);
/* oklch */ color: oklch(32.4% 0.080 127.7);
Tailwind
colors: {
  custom: {
    50: '#64714a',
    500: '#283b04',
    950: '#000000',
  },
}
SCSS
$custom: #283b04;
$custom-light: #64714a;
$custom-dark: #000000;
JSON
{
  "hex": "#283b04",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 80.727,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32409,
    "c": 0.08031,
    "h": 127.7
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#283B04
secondary
#3F1E7D
accent
#2AFD73
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283B04

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

Preview Lab → · Contrast checker → · Palette generator →

#283B04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva