#255B2F#255B2F

#255B2F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.092 H 147.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#255B2F
RGBrgb(37, 91, 47)
HSLhsl(131, 42%, 25%)
HSVhsv(131, 59%, 36%)
CMYKcmyk(59.3%, 0%, 48.4%, 64.3%)
CIE-LABlab(34.15, -28.61, 20.07)
CIE-LCHlch(34.15, 34.94, 144.95°)
OKLaboklab(42.26% -0.0775 0.0492)
OKLCHoklch(42.26% 0.092 147.6)
XYZxyz(5.0168, 8.0803, 3.9841)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B2F #5B2551
analogous
#365B25 #255B2F #255B4A
triadic
#255B2F #2F255B #5B2F25
tetradic
#255B2F #25365B #5B2551 #5B4A25
square
#255B2F #25365B #5B2551 #5B4A25
split-complementary
#255B2F #4A255B #5B2536
monochromatic
#09160B #132F19 #255B2F #378745 #48B25C

Accessibility & contrast

On white

8.03
#255B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#255B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B2F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B2F#FFFFFF#000000##FFFFFF
##255B2F1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532C
Deuteranopia (green-blind)
#554E32
Tritanopia (blue-blind)
#1A5950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255b2f;
/* rgb */ color: rgb(37, 91, 47);
/* oklch */ color: oklch(42.3% 0.092 147.6);
Tailwind
colors: {
  custom: {
    50: '#658a68',
    500: '#255b2f',
    950: '#000000',
  },
}
SCSS
$custom: #255b2f;
$custom-light: #658a68;
$custom-dark: #000000;
JSON
{
  "hex": "#255b2f",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 47
  },
  "hsl": {
    "h": 131.111,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.09177,
    "h": 147.6
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#255B2F
secondary
#8E4D82
accent
#56BBD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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