#22330F#22330F

#22330F is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.7% C 0.062 H 130.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#22330F
RGBrgb(34, 51, 15)
HSLhsl(88, 55%, 13%)
HSVhsv(88, 71%, 20%)
CMYKcmyk(33.3%, 0%, 70.6%, 80%)
CIE-LABlab(18.98, -14.38, 20.14)
CIE-LCHlch(18.98, 24.75, 125.51°)
OKLaboklab(29.67% -0.0403 0.047)
OKLCHoklch(29.67% 0.062 130.6)
XYZxyz(1.9297, 2.7422, 0.8795)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22330F #200F33
analogous
#33320F #22330F #10330F
triadic
#22330F #0F2233 #330F22
tetradic
#22330F #0F3332 #200F33 #330F10
square
#22330F #0F3332 #200F33 #330F10
split-complementary
#22330F #0F1033 #320F33
monochromatic
#101807 #101807 #22330F #42621D #61922B

Accessibility & contrast

On white

13.56
#22330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#22330F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22330F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22330F#FFFFFF#000000##FFFFFF
##22330F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0B
Deuteranopia (green-blind)
#332E12
Tritanopia (blue-blind)
#23312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22330f;
/* rgb */ color: rgb(34, 51, 15);
/* oklch */ color: oklch(29.7% 0.062 130.6);
Tailwind
colors: {
  custom: {
    50: '#5e6a4f',
    500: '#22330f',
    950: '#000000',
  },
}
SCSS
$custom: #22330f;
$custom-light: #5e6a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#22330f",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 88.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.06191,
    "h": 130.6
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#22330F
secondary
#4D316D
accent
#4ADE90
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #22330F

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

Preview Lab → · Contrast checker → · Palette generator →

#22330F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva