#283D08#283D08

#283D08 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.080 H 129.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#283D08
RGBrgb(40, 61, 8)
HSLhsl(84, 77%, 14%)
HSVhsv(84, 87%, 24%)
CMYKcmyk(34.4%, 0%, 86.9%, 76.1%)
CIE-LABlab(23.02, -17.77, 27.85)
CIE-LCHlch(23.02, 33.04, 122.55°)
OKLaboklab(33.04% -0.0508 0.062)
OKLCHoklch(33.04% 0.08 129.3)
XYZxyz(2.5876, 3.8061, 0.8280)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D08 #1D083D
analogous
#3D3708 #283D08 #0D3D08
triadic
#283D08 #08283D #3D0828
tetradic
#283D08 #083D37 #1D083D #3D080D
square
#283D08 #083D37 #1D083D #3D080D
split-complementary
#283D08 #080D3D #37083D
monochromatic
#121B04 #121B04 #283D08 #4B730F #6FA916

Accessibility & contrast

On white

11.92
#283D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#283D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D08
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D08#FFFFFF#000000##FFFFFF
##283D081.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403801
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#293A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d08;
/* rgb */ color: rgb(40, 61, 8);
/* oklch */ color: oklch(33.0% 0.080 129.3);
Tailwind
colors: {
  custom: {
    50: '#64724c',
    500: '#283d08',
    950: '#000000',
  },
}
SCSS
$custom: #283d08;
$custom-light: #64724c;
$custom-dark: #000000;
JSON
{
  "hex": "#283d08",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 83.774,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33038,
    "c": 0.08014,
    "h": 129.3
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#283D08
secondary
#47257C
accent
#34F380
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #283D08

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

Preview Lab → · Contrast checker → · Palette generator →

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