#255236#255236

#255236 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.069 H 154.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#255236
RGBrgb(37, 82, 54)
HSLhsl(143, 38%, 23%)
HSVhsv(143, 55%, 32%)
CMYKcmyk(54.9%, 0%, 34.1%, 67.8%)
CIE-LABlab(31.10, -22.86, 11.82)
CIE-LCHlch(31.10, 25.74, 152.67°)
OKLaboklab(39.81% -0.0624 0.0299)
OKLCHoklch(39.81% 0.069 154.4)
XYZxyz(4.4458, 6.6939, 4.5471)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255236 #522541
analogous
#2A5225 #255236 #25524C
triadic
#255236 #362552 #523625
tetradic
#255236 #252A52 #522541 #524C25
square
#255236 #252A52 #522541 #524C25
split-complementary
#255236 #4C2552 #52252A
monochromatic
#0A150E #12281A #255236 #387C52 #4BA66E

Accessibility & contrast

On white

8.98
#255236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255236
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255236#FFFFFF#000000##FFFFFF
##2552361.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C34
Deuteranopia (green-blind)
#4B4738
Tritanopia (blue-blind)
#1A514B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #255236;
/* rgb */ color: rgb(37, 82, 54);
/* oklch */ color: oklch(39.8% 0.069 154.4);
Tailwind
colors: {
  custom: {
    50: '#63836d',
    500: '#255236',
    950: '#000000',
  },
}
SCSS
$custom: #255236;
$custom-light: #63836d;
$custom-dark: #000000;
JSON
{
  "hex": "#255236",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 54
  },
  "hsl": {
    "h": 142.667,
    "s": 37.815,
    "l": 23.333
  },
  "oklch": {
    "l": 0.39805,
    "c": 0.06915,
    "h": 154.4
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#255236
secondary
#854D70
accent
#5AA2CE
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050A07
muted
#7A7C7A

Preview Lab

Preview with #255236

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

Preview Lab → · Contrast checker → · Palette generator →

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