#283302#283302

#283302 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.071 H 122.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#283302
RGBrgb(40, 51, 2)
HSLhsl(73, 92%, 10%)
HSVhsv(73, 96%, 20%)
CMYKcmyk(21.6%, 0%, 96.1%, 80%)
CIE-LABlab(19.32, -12.62, 26.26)
CIE-LCHlch(19.32, 29.13, 115.67°)
OKLaboklab(30.02% -0.0375 0.0599)
OKLCHoklch(30.02% 0.071 122.1)
XYZxyz(2.0699, 2.8231, 0.4933)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283302 #0D0233
analogous
#332502 #283302 #103302
triadic
#283302 #022833 #330228
tetradic
#283302 #023325 #0D0233 #330210
square
#283302 #023325 #0D0233 #330210
split-complementary
#283302 #021033 #250233
monochromatic
#171D01 #171D01 #283302 #566E04 #84A907

Accessibility & contrast

On white

13.42
#283302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#283302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283302
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283302#FFFFFF#000000##FFFFFF
##2833021.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#352F06
Tritanopia (blue-blind)
#2B302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #283302;
/* rgb */ color: rgb(40, 51, 2);
/* oklch */ color: oklch(30.0% 0.071 122.1);
Tailwind
colors: {
  custom: {
    50: '#646a48',
    500: '#283302',
    950: '#000000',
  },
}
SCSS
$custom: #283302;
$custom-light: #646a48;
$custom-dark: #000000;
JSON
{
  "hex": "#283302",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 73.469,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30022,
    "c": 0.07066,
    "h": 122.1
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#283302
secondary
#2F1A77
accent
#29FF59
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #283302

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

Preview Lab → · Contrast checker → · Palette generator →

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