#223302#223302

#223302 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.5% C 0.074 H 127.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#223302
RGBrgb(34, 51, 2)
HSLhsl(81, 92%, 10%)
HSVhsv(81, 96%, 20%)
CMYKcmyk(33.3%, 0%, 96.1%, 80%)
CIE-LABlab(18.85, -15.62, 25.59)
CIE-LCHlch(18.85, 29.98, 121.39°)
OKLaboklab(29.52% -0.0452 0.0589)
OKLCHoklch(29.52% 0.074 127.5)
XYZxyz(1.8545, 2.7121, 0.4832)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223302 #130233
analogous
#332B02 #223302 #0A3302
triadic
#223302 #022233 #330222
tetradic
#223302 #02332B #130233 #33020A
square
#223302 #02332B #130233 #33020A
split-complementary
#223302 #020A33 #2B0233
monochromatic
#141D01 #141D01 #223302 #496E04 #71A907

Accessibility & contrast

On white

13.62
#223302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#223302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223302
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223302#FFFFFF#000000##FFFFFF
##2233021.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F00
Deuteranopia (green-blind)
#342D06
Tritanopia (blue-blind)
#24302A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #223302;
/* rgb */ color: rgb(34, 51, 2);
/* oklch */ color: oklch(29.5% 0.074 127.5);
Tailwind
colors: {
  custom: {
    50: '#5f6a48',
    500: '#223302',
    950: '#000000',
  },
}
SCSS
$custom: #223302;
$custom-light: #5f6a48;
$custom-dark: #000000;
JSON
{
  "hex": "#223302",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 80.816,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29519,
    "c": 0.07425,
    "h": 127.5
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#223302
secondary
#3A1A77
accent
#29FF73
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #223302

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

Preview Lab → · Contrast checker → · Palette generator →

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