#283202#283202

#283202 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.7% C 0.069 H 121.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#283202
RGBrgb(40, 50, 2)
HSLhsl(73, 92%, 10%)
HSVhsv(73, 96%, 20%)
CMYKcmyk(20%, 0%, 96%, 80.4%)
CIE-LABlab(18.96, -12.03, 25.83)
CIE-LCHlch(18.96, 28.50, 114.96°)
OKLaboklab(29.73% -0.0359 0.0592)
OKLCHoklch(29.73% 0.069 121.2)
XYZxyz(2.0267, 2.7367, 0.4789)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283202 #0C0232
analogous
#322402 #283202 #103202
triadic
#283202 #022832 #320228
tetradic
#283202 #023224 #0C0232 #320210
square
#283202 #023224 #0C0232 #320210
split-complementary
#283202 #021032 #240232
monochromatic
#181D01 #181D01 #283202 #576D04 #86A807

Accessibility & contrast

On white

13.57
#283202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#283202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283202
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283202#FFFFFF#000000##FFFFFF
##2832021.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#352E06
Tritanopia (blue-blind)
#2B2F29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #283202;
/* rgb */ color: rgb(40, 50, 2);
/* oklch */ color: oklch(29.7% 0.069 121.2);
Tailwind
colors: {
  custom: {
    50: '#646948',
    500: '#283202',
    950: '#000000',
  },
}
SCSS
$custom: #283202;
$custom-light: #646948;
$custom-dark: #000000;
JSON
{
  "hex": "#283202",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 2
  },
  "hsl": {
    "h": 72.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.06925,
    "h": 121.2
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#283202
secondary
#2D1976
accent
#29FF55
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #283202

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

Preview Lab → · Contrast checker → · Palette generator →

#283202 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva