#255C40#255C40

#255C40 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.9% C 0.075 H 158.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#255C40
RGBrgb(37, 92, 64)
HSLhsl(149, 43%, 25%)
HSVhsv(149, 60%, 36%)
CMYKcmyk(59.8%, 0%, 30.4%, 63.9%)
CIE-LABlab(34.84, -25.56, 10.77)
CIE-LCHlch(34.84, 27.73, 157.14°)
OKLaboklab(42.93% -0.0699 0.0274)
OKLCHoklch(42.93% 0.075 158.6)
XYZxyz(5.5150, 8.4173, 6.1836)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C40 #5C2541
analogous
#255C25 #255C40 #255C5C
triadic
#255C40 #40255C #5C4025
tetradic
#255C40 #25255C #5C2541 #5C5C25
square
#255C40 #25255C #5C2541 #5C5C25
split-complementary
#255C40 #5C255C #5C2525
monochromatic
#09160F #133022 #255C40 #37885E #48B37D

Accessibility & contrast

On white

7.83
#255C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#255C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255C40
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C40#FFFFFF#000000##FFFFFF
##255C401.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B553E
Deuteranopia (green-blind)
#535042
Tritanopia (blue-blind)
#125B54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255c40;
/* rgb */ color: rgb(37, 92, 64);
/* oklch */ color: oklch(42.9% 0.075 158.6);
Tailwind
colors: {
  custom: {
    50: '#658a75',
    500: '#255c40',
    950: '#000000',
  },
}
SCSS
$custom: #255c40;
$custom-light: #658a75;
$custom-dark: #000000;
JSON
{
  "hex": "#255c40",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 64
  },
  "hsl": {
    "h": 149.455,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.07512,
    "h": 158.6
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#255C40
secondary
#8F4D6F
accent
#5595D2
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #255C40

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

Preview Lab → · Contrast checker → · Palette generator →

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