#255C22#255C22

#255C22 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.107 H 142.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#255C22
RGBrgb(37, 92, 34)
HSLhsl(117, 46%, 25%)
HSVhsv(117, 63%, 36%)
CMYKcmyk(59.8%, 0%, 63%, 63.9%)
CIE-LABlab(34.32, -31.08, 27.50)
CIE-LCHlch(34.32, 41.50, 138.49°)
OKLaboklab(42.34% -0.0846 0.0648)
OKLCHoklch(42.34% 0.107 142.5)
XYZxyz(4.8786, 8.1627, 2.8315)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C22 #59225C
analogous
#425C22 #255C22 #225C3C
triadic
#255C22 #22255C #5C2225
tetradic
#255C22 #22425C #59225C #5C3C22
square
#255C22 #22425C #59225C #5C3C22
split-complementary
#255C22 #3C225C #5C2242
monochromatic
#091608 #132F11 #255C22 #378933 #49B543

Accessibility & contrast

On white

7.98
#255C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#255C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255C22
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C22#FFFFFF#000000##FFFFFF
##255C221.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#1D594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255c22;
/* rgb */ color: rgb(37, 92, 34);
/* oklch */ color: oklch(42.3% 0.107 142.5);
Tailwind
colors: {
  custom: {
    50: '#668b5f',
    500: '#255c22',
    950: '#000000',
  },
}
SCSS
$custom: #255c22;
$custom-light: #668b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#255c22",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 116.897,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42336,
    "c": 0.10659,
    "h": 142.5
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#255C22
secondary
#8C4A90
accent
#52D6CF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #255C22

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

Preview Lab → · Contrast checker → · Palette generator →

#255C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva