#255239#255239

#255239 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.9% C 0.066 H 157.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#255239
RGBrgb(37, 82, 57)
HSLhsl(147, 38%, 23%)
HSVhsv(147, 55%, 32%)
CMYKcmyk(54.9%, 0%, 30.5%, 67.8%)
CIE-LABlab(31.17, -22.18, 10.04)
CIE-LCHlch(31.17, 24.35, 155.64°)
OKLaboklab(39.88% -0.0608 0.0255)
OKLCHoklch(39.88% 0.066 157.2)
XYZxyz(4.5184, 6.7229, 4.9297)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255239 #52253E
analogous
#275225 #255239 #25524F
triadic
#255239 #392552 #523925
tetradic
#255239 #252752 #52253E #524F25
square
#255239 #252752 #52253E #524F25
split-complementary
#255239 #4F2552 #522527
monochromatic
#0A150F #12281C #255239 #387C56 #4BA674

Accessibility & contrast

On white

8.96
#255239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#255239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255239
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255239#FFFFFF#000000##FFFFFF
##2552391.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C38
Deuteranopia (green-blind)
#4B473B
Tritanopia (blue-blind)
#19514B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #255239;
/* rgb */ color: rgb(37, 82, 57);
/* oklch */ color: oklch(39.9% 0.066 157.2);
Tailwind
colors: {
  custom: {
    50: '#63836f',
    500: '#255239',
    950: '#000000',
  },
}
SCSS
$custom: #255239;
$custom-light: #63836f;
$custom-dark: #000000;
JSON
{
  "hex": "#255239",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 146.667,
    "s": 37.815,
    "l": 23.333
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.06591,
    "h": 157.2
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#255239
secondary
#854D6C
accent
#5A9ACE
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050A07
muted
#7A7C7A

Preview Lab

Preview with #255239

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

Preview Lab → · Contrast checker → · Palette generator →

#255239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva