#255E2C#255E2C

#255E2C is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.100 H 145.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#255E2C
RGBrgb(37, 94, 44)
HSLhsl(127, 44%, 26%)
HSVhsv(127, 61%, 37%)
CMYKcmyk(60.6%, 0%, 53.2%, 63.1%)
CIE-LABlab(35.16, -30.47, 23.06)
CIE-LCHlch(35.16, 38.22, 142.88°)
OKLaboklab(43.07% -0.0826 0.0558)
OKLCHoklch(43.07% 0.1 145.9)
XYZxyz(5.2200, 8.5801, 3.7634)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255E2C #5E2557
analogous
#3A5E25 #255E2C #255E48
triadic
#255E2C #2C255E #5E2C25
tetradic
#255E2C #253A5E #5E2557 #5E4825
square
#255E2C #253A5E #5E2557 #5E4825
split-complementary
#255E2C #48255E #5E253A
monochromatic
#09160A #143217 #255E2C #368A41 #48B655

Accessibility & contrast

On white

7.73
#255E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#255E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255E2C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255E2C#FFFFFF#000000##FFFFFF
##255E2C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5628
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#1A5C52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255e2c;
/* rgb */ color: rgb(37, 94, 44);
/* oklch */ color: oklch(43.1% 0.100 145.9);
Tailwind
colors: {
  custom: {
    50: '#668c66',
    500: '#255e2c',
    950: '#000000',
  },
}
SCSS
$custom: #255e2c;
$custom-light: #668c66;
$custom-dark: #000000;
JSON
{
  "hex": "#255e2c",
  "rgb": {
    "r": 37,
    "g": 94,
    "b": 44
  },
  "hsl": {
    "h": 127.368,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.43074,
    "c": 0.09967,
    "h": 145.9
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#255E2C
secondary
#914D89
accent
#55C4D3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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