#255A2D#255A2D

#255A2D is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.092 H 146.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#255A2D
RGBrgb(37, 90, 45)
HSLhsl(129, 42%, 25%)
HSVhsv(129, 59%, 35%)
CMYKcmyk(58.9%, 0%, 50%, 64.7%)
CIE-LABlab(33.76, -28.50, 20.74)
CIE-LCHlch(33.76, 35.25, 143.96°)
OKLaboklab(41.93% -0.0772 0.0506)
OKLCHoklch(41.93% 0.092 146.7)
XYZxyz(4.8925, 7.8947, 3.7481)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A2D #5A2552
analogous
#375A25 #255A2D #255A48
triadic
#255A2D #2D255A #5A2D25
tetradic
#255A2D #25375A #5A2552 #5A4825
square
#255A2D #25375A #5A2552 #5A4825
split-complementary
#255A2D #48255A #5A2537
monochromatic
#09160B #132F17 #255A2D #378543 #49B158

Accessibility & contrast

On white

8.14
#255A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255A2D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255A2D#FFFFFF#000000##FFFFFF
##255A2D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5229
Deuteranopia (green-blind)
#544D30
Tritanopia (blue-blind)
#1B584F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255a2d;
/* rgb */ color: rgb(37, 90, 45);
/* oklch */ color: oklch(41.9% 0.092 146.7);
Tailwind
colors: {
  custom: {
    50: '#658967',
    500: '#255a2d',
    950: '#000000',
  },
}
SCSS
$custom: #255a2d;
$custom-light: #658967;
$custom-dark: #000000;
JSON
{
  "hex": "#255a2d",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 45
  },
  "hsl": {
    "h": 129.057,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.41928,
    "c": 0.09234,
    "h": 146.7
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#255A2D
secondary
#8D4D84
accent
#56BFD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #255A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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