#22500C#22500C

#22500C is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.108 H 137.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#22500C
RGBrgb(34, 80, 12)
HSLhsl(101, 74%, 18%)
HSVhsv(101, 85%, 31%)
CMYKcmyk(57.5%, 0%, 85%, 68.6%)
CIE-LABlab(29.67, -29.03, 32.61)
CIE-LCHlch(29.67, 43.66, 131.68°)
OKLaboklab(38.41% -0.0804 0.0726)
OKLCHoklch(38.41% 0.108 137.9)
XYZxyz(3.5946, 6.1037, 1.3365)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22500C #3A0C50
analogous
#44500C #22500C #0C5018
triadic
#22500C #0C2250 #500C22
tetradic
#22500C #0C4450 #3A0C50 #50180C
square
#22500C #0C4450 #3A0C50 #50180C
split-complementary
#22500C #180C50 #500C44
monochromatic
#0B1B04 #0B1B04 #22500C #398514 #4FBA1C

Accessibility & contrast

On white

9.46
#22500C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#22500C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22500C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22500C#FFFFFF#000000##FFFFFF
##22500C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#1E4D43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22500c;
/* rgb */ color: rgb(34, 80, 12);
/* oklch */ color: oklch(38.4% 0.108 137.9);
Tailwind
colors: {
  custom: {
    50: '#638151',
    500: '#22500c',
    950: '#000000',
  },
}
SCSS
$custom: #22500c;
$custom-light: #638151;
$custom-dark: #000000;
JSON
{
  "hex": "#22500c",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 100.588,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38411,
    "c": 0.10833,
    "h": 137.9
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#22500C
secondary
#6D2C8B
accent
#37F1B5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #22500C

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

Preview Lab → · Contrast checker → · Palette generator →

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