#255336#255336

#255336 is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.1% C 0.071 H 154.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#255336
RGBrgb(37, 83, 54)
HSLhsl(142, 38%, 24%)
HSVhsv(142, 55%, 33%)
CMYKcmyk(55.4%, 0%, 34.9%, 67.5%)
CIE-LABlab(31.45, -23.37, 12.30)
CIE-LCHlch(31.45, 26.41, 152.24°)
OKLaboklab(40.09% -0.0637 0.0311)
OKLCHoklch(40.09% 0.071 154)
XYZxyz(4.5217, 6.8458, 4.5724)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255336 #532542
analogous
#2B5325 #255336 #25534D
triadic
#255336 #362553 #533625
tetradic
#255336 #252B53 #532542 #534D25
square
#255336 #252B53 #532542 #534D25
split-complementary
#255336 #4D2553 #53252B
monochromatic
#09150E #12291A #255336 #387D52 #4BA86D

Accessibility & contrast

On white

8.86
#255336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#255336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255336
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255336#FFFFFF#000000##FFFFFF
##2553361.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D34
Deuteranopia (green-blind)
#4C4838
Tritanopia (blue-blind)
#19524B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #255336;
/* rgb */ color: rgb(37, 83, 54);
/* oklch */ color: oklch(40.1% 0.071 154.0);
Tailwind
colors: {
  custom: {
    50: '#63846d',
    500: '#255336',
    950: '#000000',
  },
}
SCSS
$custom: #255336;
$custom-light: #63846d;
$custom-dark: #000000;
JSON
{
  "hex": "#255336",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 54
  },
  "hsl": {
    "h": 142.174,
    "s": 38.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.40094,
    "c": 0.07085,
    "h": 154
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#255336
secondary
#864D71
accent
#5AA3CE
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B07
muted
#7A7C7A

Preview Lab

Preview with #255336

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

Preview Lab → · Contrast checker → · Palette generator →

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