#255231#255231

#255231 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.075 H 150.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#255231
RGBrgb(37, 82, 49)
HSLhsl(136, 38%, 23%)
HSVhsv(136, 55%, 32%)
CMYKcmyk(54.9%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.99, -23.93, 14.76)
CIE-LCHlch(30.99, 28.12, 148.33°)
OKLaboklab(39.68% -0.065 0.0369)
OKLCHoklch(39.68% 0.075 150.4)
XYZxyz(4.3343, 6.6493, 3.9602)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255231 #522546
analogous
#2F5225 #255231 #255247
triadic
#255231 #312552 #523125
tetradic
#255231 #252F52 #522546 #524725
square
#255231 #252F52 #522546 #524725
split-complementary
#255231 #472552 #52252F
monochromatic
#0A150D #122818 #255231 #387C4A #4BA663

Accessibility & contrast

On white

9.01
#255231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#255231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255231
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255231#FFFFFF#000000##FFFFFF
##2552311.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C2F
Deuteranopia (green-blind)
#4C4733
Tritanopia (blue-blind)
#1B514A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #255231;
/* rgb */ color: rgb(37, 82, 49);
/* oklch */ color: oklch(39.7% 0.075 150.4);
Tailwind
colors: {
  custom: {
    50: '#638369',
    500: '#255231',
    950: '#000000',
  },
}
SCSS
$custom: #255231;
$custom-light: #638369;
$custom-dark: #000000;
JSON
{
  "hex": "#255231",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 136,
    "s": 37.815,
    "l": 23.333
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.07473,
    "h": 150.4
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#255231
secondary
#854D76
accent
#5AAFCE
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050A06
muted
#7A7C7A

Preview Lab

Preview with #255231

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

Preview Lab → · Contrast checker → · Palette generator →

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