#255B2D#255B2D

#255B2D is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.094 H 146.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#255B2D
RGBrgb(37, 91, 45)
HSLhsl(129, 42%, 25%)
HSVhsv(129, 59%, 36%)
CMYKcmyk(59.3%, 0%, 50.5%, 64.3%)
CIE-LABlab(34.12, -28.96, 21.19)
CIE-LCHlch(34.12, 35.88, 143.81°)
OKLaboklab(42.22% -0.0785 0.0517)
OKLCHoklch(42.22% 0.094 146.6)
XYZxyz(4.9774, 8.0645, 3.7764)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B2D #5B2553
analogous
#385B25 #255B2D #255B48
triadic
#255B2D #2D255B #5B2D25
tetradic
#255B2D #25385B #5B2553 #5B4825
square
#255B2D #25385B #5B2553 #5B4825
split-complementary
#255B2D #48255B #5B2538
monochromatic
#09160B #132F17 #255B2D #378743 #48B258

Accessibility & contrast

On white

8.04
#255B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#255B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B2D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B2D#FFFFFF#000000##FFFFFF
##255B2D1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255b2d;
/* rgb */ color: rgb(37, 91, 45);
/* oklch */ color: oklch(42.2% 0.094 146.6);
Tailwind
colors: {
  custom: {
    50: '#658a67',
    500: '#255b2d',
    950: '#000000',
  },
}
SCSS
$custom: #255b2d;
$custom-light: #658a67;
$custom-dark: #000000;
JSON
{
  "hex": "#255b2d",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 45
  },
  "hsl": {
    "h": 128.889,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42219,
    "c": 0.09393,
    "h": 146.6
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#255B2D
secondary
#8E4D85
accent
#56C0D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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