#22450C#22450C

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

Color values

HEX#22450C
RGBrgb(34, 69, 12)
HSLhsl(97, 70%, 16%)
HSVhsv(97, 83%, 27%)
CMYKcmyk(50.7%, 0%, 82.6%, 72.9%)
CIE-LABlab(25.63, -24.04, 28.68)
CIE-LCHlch(25.63, 37.42, 129.97°)
OKLaboklab(35.09% -0.0669 0.0644)
OKLCHoklch(35.09% 0.093 136.1)
XYZxyz(2.8541, 4.6227, 1.0896)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22450C #2F0C45
analogous
#3E450C #22450C #0C4512
triadic
#22450C #0C2245 #450C22
tetradic
#22450C #0C3E45 #2F0C45 #45120C
square
#22450C #0C3E45 #2F0C45 #45120C
split-complementary
#22450C #120C45 #450C3E
monochromatic
#0D1A05 #0D1A05 #22450C #3C7915 #55AD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22450C#FFFFFF#000000##FFFFFF
##22450C1.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)
#483F03
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#21423A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22450c;
/* rgb */ color: rgb(34, 69, 12);
/* oklch */ color: oklch(35.1% 0.093 136.1);
Tailwind
colors: {
  custom: {
    50: '#61794f',
    500: '#22450c',
    950: '#000000',
  },
}
SCSS
$custom: #22450c;
$custom-light: #61794f;
$custom-dark: #000000;
JSON
{
  "hex": "#22450c",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 96.842,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35087,
    "c": 0.09288,
    "h": 136.1
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#22450C
secondary
#602C81
accent
#3BEDA8
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #22450C

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

Preview Lab → · Contrast checker → · Palette generator →

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