#283B08#283B08

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

Color values

HEX#283B08
RGBrgb(40, 59, 8)
HSLhsl(82, 76%, 13%)
HSVhsv(82, 86%, 23%)
CMYKcmyk(32.2%, 0%, 86.4%, 76.9%)
CIE-LABlab(22.29, -16.69, 27.09)
CIE-LCHlch(22.29, 31.81, 121.63°)
OKLaboklab(32.45% -0.0478 0.0606)
OKLCHoklch(32.45% 0.077 128.3)
XYZxyz(2.4829, 3.5965, 0.7931)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B08 #1B083B
analogous
#3B3408 #283B08 #0E3B08
triadic
#283B08 #08283B #3B0828
tetradic
#283B08 #083B34 #1B083B #3B080E
square
#283B08 #083B34 #1B083B #3B080E
split-complementary
#283B08 #080E3B #34083B
monochromatic
#121B04 #121B04 #283B08 #4D710F #71A717

Accessibility & contrast

On white

12.21
#283B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283B08
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B08#FFFFFF#000000##FFFFFF
##283B081.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283b08;
/* rgb */ color: rgb(40, 59, 8);
/* oklch */ color: oklch(32.4% 0.077 128.3);
Tailwind
colors: {
  custom: {
    50: '#64714c',
    500: '#283b08',
    950: '#000000',
  },
}
SCSS
$custom: #283b08;
$custom-light: #64714c;
$custom-dark: #000000;
JSON
{
  "hex": "#283b08",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 8
  },
  "hsl": {
    "h": 82.353,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32445,
    "c": 0.07716,
    "h": 128.3
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#283B08
secondary
#45257A
accent
#35F37C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283B08

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

Preview Lab → · Contrast checker → · Palette generator →

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