#22510C#22510C

#22510C is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.110 H 138.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#22510C
RGBrgb(34, 81, 12)
HSLhsl(101, 74%, 18%)
HSVhsv(101, 85%, 32%)
CMYKcmyk(58%, 0%, 85.2%, 68.2%)
CIE-LABlab(30.04, -29.47, 32.96)
CIE-LCHlch(30.04, 44.21, 131.80°)
OKLaboklab(38.71% -0.0815 0.0734)
OKLCHoklch(38.71% 0.11 138)
XYZxyz(3.6683, 6.2512, 1.3611)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22510C #3B0C51
analogous
#44510C #22510C #0C5118
triadic
#22510C #0C2251 #510C22
tetradic
#22510C #0C4451 #3B0C51 #51180C
square
#22510C #0C4451 #3B0C51 #51180C
split-complementary
#22510C #180C51 #510C44
monochromatic
#0B1B04 #0C1C04 #22510C #388614 #4FBC1C

Accessibility & contrast

On white

9.33
#22510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#22510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22510C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22510C#FFFFFF#000000##FFFFFF
##22510C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#1E4E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #22510c;
/* rgb */ color: rgb(34, 81, 12);
/* oklch */ color: oklch(38.7% 0.110 138.0);
Tailwind
colors: {
  custom: {
    50: '#638251',
    500: '#22510c',
    950: '#000000',
  },
}
SCSS
$custom: #22510c;
$custom-light: #638251;
$custom-dark: #000000;
JSON
{
  "hex": "#22510c",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 100.87,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38712,
    "c": 0.10968,
    "h": 138
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#22510C
secondary
#6E2C8C
accent
#37F1B6
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #22510C

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

Preview Lab → · Contrast checker → · Palette generator →

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