#22510B#22510B

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

Color values

HEX#22510B
RGBrgb(34, 81, 11)
HSLhsl(100, 76%, 18%)
HSVhsv(100, 86%, 32%)
CMYKcmyk(58%, 0%, 86.4%, 68.2%)
CIE-LABlab(30.03, -29.53, 33.31)
CIE-LCHlch(30.03, 44.51, 131.56°)
OKLaboklab(38.71% -0.0818 0.0739)
OKLCHoklch(38.71% 0.11 137.9)
XYZxyz(3.6624, 6.2488, 1.3297)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22510B #3A0B51
analogous
#45510B #22510B #0B5117
triadic
#22510B #0B2251 #510B22
tetradic
#22510B #0B4551 #3A0B51 #51170B
square
#22510B #0B4551 #3A0B51 #51170B
split-complementary
#22510B #170B51 #510B45
monochromatic
#0B1B04 #0B1B04 #22510B #398712 #4FBD1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22510B#FFFFFF#000000##FFFFFF
##22510B1.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)
#4E4513
Tritanopia (blue-blind)
#1E4E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #22510b;
/* rgb */ color: rgb(34, 81, 11);
/* oklch */ color: oklch(38.7% 0.110 137.9);
Tailwind
colors: {
  custom: {
    50: '#638251',
    500: '#22510b',
    950: '#000000',
  },
}
SCSS
$custom: #22510b;
$custom-light: #638251;
$custom-dark: #000000;
JSON
{
  "hex": "#22510b",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 11
  },
  "hsl": {
    "h": 100.286,
    "s": 76.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38705,
    "c": 0.11024,
    "h": 137.9
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#22510B
secondary
#6D2B8D
accent
#35F3B4
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #22510B

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

Preview Lab → · Contrast checker → · Palette generator →

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