#255A2B#255A2B

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

Color values

HEX#255A2B
RGBrgb(37, 90, 43)
HSLhsl(127, 42%, 25%)
HSVhsv(127, 59%, 35%)
CMYKcmyk(58.9%, 0%, 52.2%, 64.7%)
CIE-LABlab(33.73, -28.84, 21.85)
CIE-LCHlch(33.73, 36.18, 142.85°)
OKLaboklab(41.89% -0.0782 0.0531)
OKLCHoklch(41.89% 0.094 145.8)
XYZxyz(4.8549, 7.8796, 3.5501)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A2B #5A2554
analogous
#3A5A25 #255A2B #255A45
triadic
#255A2B #2B255A #5A2B25
tetradic
#255A2B #253A5A #5A2554 #5A4525
square
#255A2B #253A5A #5A2554 #5A4525
split-complementary
#255A2B #45255A #5A253A
monochromatic
#09160A #132F16 #255A2B #378540 #49B154

Accessibility & contrast

On white

8.15
#255A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255A2B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255A2B#FFFFFF#000000##FFFFFF
##255A2B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255a2b;
/* rgb */ color: rgb(37, 90, 43);
/* oklch */ color: oklch(41.9% 0.094 145.8);
Tailwind
colors: {
  custom: {
    50: '#658965',
    500: '#255a2b',
    950: '#000000',
  },
}
SCSS
$custom: #255a2b;
$custom-light: #658965;
$custom-dark: #000000;
JSON
{
  "hex": "#255a2b",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 43
  },
  "hsl": {
    "h": 126.792,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.41892,
    "c": 0.09448,
    "h": 145.8
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#255A2B
secondary
#8D4D86
accent
#56C4D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B05
muted
#7A7C7A

Preview Lab

Preview with #255A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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