#22450F#22450F

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

Color values

HEX#22450F
RGBrgb(34, 69, 15)
HSLhsl(99, 64%, 16%)
HSVhsv(99, 78%, 27%)
CMYKcmyk(50.7%, 0%, 78.3%, 72.9%)
CIE-LABlab(25.66, -23.78, 27.38)
CIE-LCHlch(25.66, 36.27, 130.97°)
OKLaboklab(35.11% -0.066 0.0622)
OKLCHoklch(35.11% 0.091 136.7)
XYZxyz(2.8740, 4.6306, 1.1942)
Luminance0.0463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22450F #320F45
analogous
#3D450F #22450F #0F4517
triadic
#22450F #0F2245 #450F22
tetradic
#22450F #0F3D45 #320F45 #45170F
square
#22450F #0F3D45 #320F45 #45170F
split-complementary
#22450F #170F45 #450F3D
monochromatic
#0C1905 #0C1905 #22450F #3B771A #54AA25

Accessibility & contrast

On white

10.90
#22450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#22450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22450F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22450F#FFFFFF#000000##FFFFFF
##22450F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#20423A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22450f;
/* rgb */ color: rgb(34, 69, 15);
/* oklch */ color: oklch(35.1% 0.091 136.7);
Tailwind
colors: {
  custom: {
    50: '#617951',
    500: '#22450f',
    950: '#000000',
  },
}
SCSS
$custom: #22450f;
$custom-light: #617951;
$custom-dark: #000000;
JSON
{
  "hex": "#22450f",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 98.889,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35114,
    "c": 0.09067,
    "h": 136.7
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#22450F
secondary
#64307F
accent
#41E7AD
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #22450F

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

Preview Lab → · Contrast checker → · Palette generator →

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