#283B05#283B05

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

Color values

HEX#283B05
RGBrgb(40, 59, 5)
HSLhsl(81, 84%, 13%)
HSVhsv(81, 92%, 23%)
CMYKcmyk(32.2%, 0%, 91.5%, 76.9%)
CIE-LABlab(22.27, -16.91, 28.29)
CIE-LCHlch(22.27, 32.96, 120.88°)
OKLaboklab(32.42% -0.0488 0.0628)
OKLCHoklch(32.42% 0.08 127.8)
XYZxyz(2.4664, 3.5899, 0.7065)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B05 #18053B
analogous
#3B3305 #283B05 #0D3B05
triadic
#283B05 #05283B #3B0528
tetradic
#283B05 #053B33 #18053B #3B050D
square
#283B05 #053B33 #18053B #3B050D
split-complementary
#283B05 #050D3B #33053B
monochromatic
#131C02 #131C02 #283B05 #4E730A #75AC0F

Accessibility & contrast

On white

12.22
#283B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283B05
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B05#FFFFFF#000000##FFFFFF
##283B051.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283b05;
/* rgb */ color: rgb(40, 59, 5);
/* oklch */ color: oklch(32.4% 0.080 127.8);
Tailwind
colors: {
  custom: {
    50: '#64714a',
    500: '#283b05',
    950: '#000000',
  },
}
SCSS
$custom: #283b05;
$custom-light: #64714a;
$custom-dark: #000000;
JSON
{
  "hex": "#283b05",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 5
  },
  "hsl": {
    "h": 81.111,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32418,
    "c": 0.07951,
    "h": 127.8
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#283B05
secondary
#40207C
accent
#2DFB75
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283B05

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

Preview Lab → · Contrast checker → · Palette generator →

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