#255A2F#255A2F

#255A2F is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.090 H 147.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#255A2F
RGBrgb(37, 90, 47)
HSLhsl(131, 42%, 25%)
HSVhsv(131, 59%, 35%)
CMYKcmyk(58.9%, 0%, 47.8%, 64.7%)
CIE-LABlab(33.80, -28.14, 19.62)
CIE-LCHlch(33.80, 34.31, 145.13°)
OKLaboklab(41.97% -0.0762 0.0482)
OKLCHoklch(41.97% 0.09 147.7)
XYZxyz(4.9319, 7.9105, 3.9557)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A2F #5A2550
analogous
#355A25 #255A2F #255A4A
triadic
#255A2F #2F255A #5A2F25
tetradic
#255A2F #25355A #5A2550 #5A4A25
square
#255A2F #25355A #5A2550 #5A4A25
split-complementary
#255A2F #4A255A #5A2535
monochromatic
#09160B #132F18 #255A2F #378546 #49B15C

Accessibility & contrast

On white

8.13
#255A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#255A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255A2F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255A2F#FFFFFF#000000##FFFFFF
##255A2F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522C
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#1A5850
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255a2f;
/* rgb */ color: rgb(37, 90, 47);
/* oklch */ color: oklch(42.0% 0.090 147.7);
Tailwind
colors: {
  custom: {
    50: '#658968',
    500: '#255a2f',
    950: '#000000',
  },
}
SCSS
$custom: #255a2f;
$custom-light: #658968;
$custom-dark: #000000;
JSON
{
  "hex": "#255a2f",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 131.321,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.41966,
    "c": 0.09018,
    "h": 147.7
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#255A2F
secondary
#8D4D81
accent
#56BAD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #255A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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