#255E2F#255E2F

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

Color values

HEX#255E2F
RGBrgb(37, 94, 47)
HSLhsl(131, 44%, 26%)
HSVhsv(131, 61%, 37%)
CMYKcmyk(60.6%, 0%, 50%, 63.1%)
CIE-LABlab(35.21, -29.97, 21.41)
CIE-LCHlch(35.21, 36.83, 144.45°)
OKLaboklab(43.13% -0.0811 0.0523)
OKLCHoklch(43.13% 0.097 147.2)
XYZxyz(5.2784, 8.6035, 4.0713)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255E2F #5E2554
analogous
#375E25 #255E2F #255E4B
triadic
#255E2F #2F255E #5E2F25
tetradic
#255E2F #25375E #5E2554 #5E4B25
square
#255E2F #25375E #5E2554 #5E4B25
split-complementary
#255E2F #4B255E #5E2537
monochromatic
#09160B #143219 #255E2F #368A45 #48B65B

Accessibility & contrast

On white

7.72
#255E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255E2F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255E2F#FFFFFF#000000##FFFFFF
##255E2F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562B
Deuteranopia (green-blind)
#585132
Tritanopia (blue-blind)
#195C53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255e2f;
/* rgb */ color: rgb(37, 94, 47);
/* oklch */ color: oklch(43.1% 0.097 147.2);
Tailwind
colors: {
  custom: {
    50: '#668c68',
    500: '#255e2f',
    950: '#000000',
  },
}
SCSS
$custom: #255e2f;
$custom-light: #668c68;
$custom-dark: #000000;
JSON
{
  "hex": "#255e2f",
  "rgb": {
    "r": 37,
    "g": 94,
    "b": 47
  },
  "hsl": {
    "h": 130.526,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.43127,
    "c": 0.09651,
    "h": 147.2
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#255E2F
secondary
#914D85
accent
#55BDD3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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