#255D22#255D22

#255D22 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.108 H 142.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#255D22
RGBrgb(37, 93, 34)
HSLhsl(117, 46%, 25%)
HSVhsv(117, 63%, 36%)
CMYKcmyk(60.2%, 0%, 63.4%, 63.5%)
CIE-LABlab(34.68, -31.51, 27.92)
CIE-LCHlch(34.68, 42.10, 138.46°)
OKLaboklab(42.63% -0.0858 0.0657)
OKLCHoklch(42.63% 0.108 142.6)
XYZxyz(4.9658, 8.3371, 2.8606)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255D22 #5A225D
analogous
#435D22 #255D22 #225D3C
triadic
#255D22 #22255D #5D2225
tetradic
#255D22 #22435D #5A225D #5D3C22
square
#255D22 #22435D #5A225D #5D3C22
split-complementary
#255D22 #3C225D #5D2243
monochromatic
#091608 #133012 #255D22 #378A32 #49B743

Accessibility & contrast

On white

7.87
#255D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#255D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255D22
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255D22#FFFFFF#000000##FFFFFF
##255D221.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551C
Deuteranopia (green-blind)
#585027
Tritanopia (blue-blind)
#1D5A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255d22;
/* rgb */ color: rgb(37, 93, 34);
/* oklch */ color: oklch(42.6% 0.108 142.6);
Tailwind
colors: {
  custom: {
    50: '#668b5f',
    500: '#255d22',
    950: '#000000',
  },
}
SCSS
$custom: #255d22;
$custom-light: #668b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#255d22",
  "rgb": {
    "r": 37,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 116.949,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42629,
    "c": 0.10806,
    "h": 142.6
  },
  "luminance": 0.08338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #255D22

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

Preview Lab → · Contrast checker → · Palette generator →

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