#22450B#22450B

#22450B is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.1% C 0.094 H 135.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#22450B
RGBrgb(34, 69, 11)
HSLhsl(96, 73%, 16%)
HSVhsv(96, 84%, 27%)
CMYKcmyk(50.7%, 0%, 84.1%, 72.9%)
CIE-LABlab(25.62, -24.11, 29.08)
CIE-LCHlch(25.62, 37.78, 129.66°)
OKLaboklab(35.08% -0.0672 0.0651)
OKLCHoklch(35.08% 0.094 135.9)
XYZxyz(2.8481, 4.6203, 1.0583)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22450B #2E0B45
analogous
#3F450B #22450B #0B4511
triadic
#22450B #0B2245 #450B22
tetradic
#22450B #0B3F45 #2E0B45 #45110B
square
#22450B #0B3F45 #2E0B45 #45110B
split-complementary
#22450B #110B45 #450B3F
monochromatic
#0D1A04 #0D1A04 #22450B #3C7A13 #56AF1C

Accessibility & contrast

On white

10.91
#22450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#22450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22450B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22450B#FFFFFF#000000##FFFFFF
##22450B1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F02
Deuteranopia (green-blind)
#433C11
Tritanopia (blue-blind)
#21423A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22450b;
/* rgb */ color: rgb(34, 69, 11);
/* oklch */ color: oklch(35.1% 0.094 135.9);
Tailwind
colors: {
  custom: {
    50: '#61794f',
    500: '#22450b',
    950: '#000000',
  },
}
SCSS
$custom: #22450b;
$custom-light: #61794f;
$custom-dark: #000000;
JSON
{
  "hex": "#22450b",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 96.207,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35079,
    "c": 0.09356,
    "h": 135.9
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#22450B
secondary
#5F2A81
accent
#39EFA7
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #22450B

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

Preview Lab → · Contrast checker → · Palette generator →

#22450B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva