#283B0B#283B0B

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

Color values

HEX#283B0B
RGBrgb(40, 59, 11)
HSLhsl(84, 69%, 14%)
HSVhsv(84, 81%, 23%)
CMYKcmyk(32.2%, 0%, 81.4%, 76.9%)
CIE-LABlab(22.31, -16.46, 25.88)
CIE-LCHlch(22.31, 30.67, 122.45°)
OKLaboklab(32.47% -0.0469 0.0583)
OKLCHoklch(32.47% 0.075 128.8)
XYZxyz(2.4994, 3.6031, 0.8803)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B0B #1E0B3B
analogous
#3B360B #283B0B #103B0B
triadic
#283B0B #0B283B #3B0B28
tetradic
#283B0B #0B3B36 #1E0B3B #3B0B10
square
#283B0B #0B3B36 #1E0B3B #3B0B10
split-complementary
#283B0B #0B103B #360B3B
monochromatic
#111A05 #111A05 #283B0B #4B6F15 #6EA21E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283B0B#FFFFFF#000000##FFFFFF
##283B0B1.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)
#3E3604
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#2A3832
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283b0b;
/* rgb */ color: rgb(40, 59, 11);
/* oklch */ color: oklch(32.5% 0.075 128.8);
Tailwind
colors: {
  custom: {
    50: '#64714d',
    500: '#283b0b',
    950: '#000000',
  },
}
SCSS
$custom: #283b0b;
$custom-light: #64714d;
$custom-dark: #000000;
JSON
{
  "hex": "#283b0b",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 11
  },
  "hsl": {
    "h": 83.75,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32471,
    "c": 0.07485,
    "h": 128.8
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#283B0B
secondary
#492A78
accent
#3CEB82
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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