#283B0C#283B0C

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

Color values

HEX#283B0C
RGBrgb(40, 59, 12)
HSLhsl(84, 66%, 14%)
HSVhsv(84, 80%, 23%)
CMYKcmyk(32.2%, 0%, 79.7%, 76.9%)
CIE-LABlab(22.32, -16.38, 25.45)
CIE-LCHlch(22.32, 30.26, 122.76°)
OKLaboklab(32.48% -0.0466 0.0576)
OKLCHoklch(32.48% 0.074 129)
XYZxyz(2.5054, 3.6055, 0.9117)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B0C #1F0C3B
analogous
#3B370C #283B0C #113B0C
triadic
#283B0C #0C283B #3B0C28
tetradic
#283B0C #0C3B37 #1F0C3B #3B0C11
square
#283B0C #0C3B37 #1F0C3B #3B0C11
split-complementary
#283B0C #0C113B #370C3B
monochromatic
#111905 #111905 #283B0C #4A6E16 #6DA121

Accessibility & contrast

On white

12.20
#283B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283B0C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B0C#FFFFFF#000000##FFFFFF
##283B0C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283b0c;
/* rgb */ color: rgb(40, 59, 12);
/* oklch */ color: oklch(32.5% 0.074 129.0);
Tailwind
colors: {
  custom: {
    50: '#64714e',
    500: '#283b0c',
    950: '#000000',
  },
}
SCSS
$custom: #283b0c;
$custom-light: #64714e;
$custom-dark: #000000;
JSON
{
  "hex": "#283b0c",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 12
  },
  "hsl": {
    "h": 84.255,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.07404,
    "h": 129
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#283B0C
secondary
#4A2C77
accent
#3FE984
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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