#255E2A#255E2A

#255E2A is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.102 H 145.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#255E2A
RGBrgb(37, 94, 42)
HSLhsl(125, 44%, 26%)
HSVhsv(125, 61%, 37%)
CMYKcmyk(60.6%, 0%, 55.3%, 63.1%)
CIE-LABlab(35.13, -30.79, 24.15)
CIE-LCHlch(35.13, 39.13, 141.90°)
OKLaboklab(43.04% -0.0835 0.0581)
OKLCHoklch(43.04% 0.102 145.1)
XYZxyz(5.1833, 8.5654, 3.5702)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255E2A #5E2559
analogous
#3C5E25 #255E2A #255E46
triadic
#255E2A #2A255E #5E2A25
tetradic
#255E2A #253C5E #5E2559 #5E4625
square
#255E2A #253C5E #5E2559 #5E4625
split-complementary
#255E2A #46255E #5E253C
monochromatic
#09160A #143216 #255E2A #368A3E #48B651

Accessibility & contrast

On white

7.74
#255E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#255E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255E2A
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255E2A#FFFFFF#000000##FFFFFF
##255E2A1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#58512E
Tritanopia (blue-blind)
#1A5C52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255e2a;
/* rgb */ color: rgb(37, 94, 42);
/* oklch */ color: oklch(43.0% 0.102 145.1);
Tailwind
colors: {
  custom: {
    50: '#668c65',
    500: '#255e2a',
    950: '#000000',
  },
}
SCSS
$custom: #255e2a;
$custom-light: #668c65;
$custom-dark: #000000;
JSON
{
  "hex": "#255e2a",
  "rgb": {
    "r": 37,
    "g": 94,
    "b": 42
  },
  "hsl": {
    "h": 125.263,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4304,
    "c": 0.10173,
    "h": 145.1
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#255E2A
secondary
#914D8B
accent
#55C8D3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #255E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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