#283D0F#283D0F

#283D0F is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.075 H 130.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#283D0F
RGBrgb(40, 61, 15)
HSLhsl(87, 61%, 15%)
HSVhsv(87, 75%, 24%)
CMYKcmyk(34.4%, 0%, 75.4%, 76.1%)
CIE-LABlab(23.08, -17.21, 24.79)
CIE-LCHlch(23.08, 30.17, 124.76°)
OKLaboklab(33.1% -0.0485 0.0567)
OKLCHoklch(33.1% 0.075 130.6)
XYZxyz(2.6300, 3.8230, 1.0512)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D0F #240F3D
analogous
#3D3B0F #283D0F #113D0F
triadic
#283D0F #0F283D #3D0F28
tetradic
#283D0F #0F3D3B #240F3D #3D0F11
square
#283D0F #0F3D3B #240F3D #3D0F11
split-complementary
#283D0F #0F113D #3B0F3D
monochromatic
#101906 #101906 #283D0F #486E1B #689F27

Accessibility & contrast

On white

11.90
#283D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D0F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D0F#FFFFFF#000000##FFFFFF
##283D0F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403809
Deuteranopia (green-blind)
#3D3713
Tritanopia (blue-blind)
#293A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d0f;
/* rgb */ color: rgb(40, 61, 15);
/* oklch */ color: oklch(33.1% 0.075 130.6);
Tailwind
colors: {
  custom: {
    50: '#647250',
    500: '#283d0f',
    950: '#000000',
  },
}
SCSS
$custom: #283d0f;
$custom-light: #647250;
$custom-dark: #000000;
JSON
{
  "hex": "#283d0f",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 87.391,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33104,
    "c": 0.07459,
    "h": 130.6
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#283D0F
secondary
#513077
accent
#44E48D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #283D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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