#255A2E#255A2E

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

Color values

HEX#255A2E
RGBrgb(37, 90, 46)
HSLhsl(130, 42%, 25%)
HSVhsv(130, 59%, 35%)
CMYKcmyk(58.9%, 0%, 48.9%, 64.7%)
CIE-LABlab(33.78, -28.32, 20.18)
CIE-LCHlch(33.78, 34.78, 144.53°)
OKLaboklab(41.95% -0.0767 0.0494)
OKLCHoklch(41.95% 0.091 147.2)
XYZxyz(4.9119, 7.9025, 3.8507)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A2E #5A2551
analogous
#365A25 #255A2E #255A49
triadic
#255A2E #2E255A #5A2E25
tetradic
#255A2E #25365A #5A2551 #5A4925
square
#255A2E #25365A #5A2551 #5A4925
split-complementary
#255A2E #49255A #5A2536
monochromatic
#09160B #132F18 #255A2E #378544 #49B15A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255A2E#FFFFFF#000000##FFFFFF
##255A2E1.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)
#5B522B
Deuteranopia (green-blind)
#544E31
Tritanopia (blue-blind)
#1A584F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255a2e;
/* rgb */ color: rgb(37, 90, 46);
/* oklch */ color: oklch(41.9% 0.091 147.2);
Tailwind
colors: {
  custom: {
    50: '#658967',
    500: '#255a2e',
    950: '#000000',
  },
}
SCSS
$custom: #255a2e;
$custom-light: #658967;
$custom-dark: #000000;
JSON
{
  "hex": "#255a2e",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 46
  },
  "hsl": {
    "h": 130.189,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.41947,
    "c": 0.09126,
    "h": 147.2
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#255A2E
secondary
#8D4D83
accent
#56BDD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #255A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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