#283D0B#283D0B

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

Color values

HEX#283D0B
RGBrgb(40, 61, 11)
HSLhsl(85, 69%, 14%)
HSVhsv(85, 82%, 24%)
CMYKcmyk(34.4%, 0%, 82%, 76.1%)
CIE-LABlab(23.04, -17.55, 26.64)
CIE-LCHlch(23.04, 31.90, 123.38°)
OKLaboklab(33.06% -0.0499 0.0599)
OKLCHoklch(33.06% 0.078 129.8)
XYZxyz(2.6042, 3.8127, 0.9153)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D0B #200B3D
analogous
#3D390B #283D0B #0F3D0B
triadic
#283D0B #0B283D #3D0B28
tetradic
#283D0B #0B3D39 #200B3D #3D0B0F
square
#283D0B #0B3D39 #200B3D #3D0B0F
split-complementary
#283D0B #0B0F3D #390B3D
monochromatic
#111A05 #111A05 #283D0B #4A7114 #6CA51E

Accessibility & contrast

On white

11.91
#283D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D0B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D0B#FFFFFF#000000##FFFFFF
##283D0B1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283d0b;
/* rgb */ color: rgb(40, 61, 11);
/* oklch */ color: oklch(33.1% 0.078 129.8);
Tailwind
colors: {
  custom: {
    50: '#64724e',
    500: '#283d0b',
    950: '#000000',
  },
}
SCSS
$custom: #283d0b;
$custom-light: #64724e;
$custom-dark: #000000;
JSON
{
  "hex": "#283d0b",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 85.2,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33064,
    "c": 0.07792,
    "h": 129.8
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#283D0B
secondary
#4C2A7A
accent
#3CEC86
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #283D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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