#255D26#255D26

#255D26 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.104 H 143.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#255D26
RGBrgb(37, 93, 38)
HSLhsl(121, 43%, 25%)
HSVhsv(121, 60%, 36%)
CMYKcmyk(60.2%, 0%, 59.1%, 63.5%)
CIE-LABlab(34.72, -30.96, 25.85)
CIE-LCHlch(34.72, 40.33, 140.14°)
OKLaboklab(42.69% -0.0841 0.0616)
OKLCHoklch(42.69% 0.104 143.8)
XYZxyz(5.0269, 8.3615, 3.1824)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255D26 #5D255C
analogous
#405D25 #255D26 #255D42
triadic
#255D26 #26255D #5D2625
tetradic
#255D26 #25405D #5D255C #5D4225
square
#255D26 #25405D #5D255C #5D4225
split-complementary
#255D26 #42255D #5D2540
monochromatic
#091609 #143114 #255D26 #368938 #48B54A

Accessibility & contrast

On white

7.86
#255D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255D26
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255D26#FFFFFF#000000##FFFFFF
##255D261.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5521
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#1C5A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255d26;
/* rgb */ color: rgb(37, 93, 38);
/* oklch */ color: oklch(42.7% 0.104 143.8);
Tailwind
colors: {
  custom: {
    50: '#668b62',
    500: '#255d26',
    950: '#000000',
  },
}
SCSS
$custom: #255d26;
$custom-light: #668b62;
$custom-dark: #000000;
JSON
{
  "hex": "#255d26",
  "rgb": {
    "r": 37,
    "g": 93,
    "b": 38
  },
  "hsl": {
    "h": 121.071,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.10423,
    "h": 143.8
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#255D26
secondary
#904D8F
accent
#55D1D3
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #255D26

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

Preview Lab → · Contrast checker → · Palette generator →

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