#283B0F#283B0F

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

Color values

HEX#283B0F
RGBrgb(40, 59, 15)
HSLhsl(86, 59%, 15%)
HSVhsv(86, 75%, 23%)
CMYKcmyk(32.2%, 0%, 74.6%, 76.9%)
CIE-LABlab(22.35, -16.11, 24.01)
CIE-LCHlch(22.35, 28.91, 123.85°)
OKLaboklab(32.51% -0.0455 0.055)
OKLCHoklch(32.51% 0.071 129.6)
XYZxyz(2.5252, 3.6135, 1.0163)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B0F #220F3B
analogous
#3B380F #283B0F #123B0F
triadic
#283B0F #0F283B #3B0F28
tetradic
#283B0F #0F3B38 #220F3B #3B0F12
square
#283B0F #0F3B38 #220F3B #3B0F12
split-complementary
#283B0F #0F123B #380F3B
monochromatic
#111806 #111806 #283B0F #496C1B #6A9D28

Accessibility & contrast

On white

12.19
#283B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283B0F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B0F#FFFFFF#000000##FFFFFF
##283B0F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3609
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#293832
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283b0f;
/* rgb */ color: rgb(40, 59, 15);
/* oklch */ color: oklch(32.5% 0.071 129.6);
Tailwind
colors: {
  custom: {
    50: '#647150',
    500: '#283b0f',
    950: '#000000',
  },
}
SCSS
$custom: #283b0f;
$custom-light: #647150;
$custom-dark: #000000;
JSON
{
  "hex": "#283b0f",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 85.909,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.0714,
    "h": 129.6
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#283B0F
secondary
#4E3075
accent
#45E389
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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