#255216#255216

#255216 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.102 H 138.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#255216
RGBrgb(37, 82, 22)
HSLhsl(105, 58%, 20%)
HSVhsv(105, 73%, 32%)
CMYKcmyk(54.9%, 0%, 73.2%, 67.8%)
CIE-LABlab(30.61, -28.06, 29.37)
CIE-LCHlch(30.61, 40.62, 133.70°)
OKLaboklab(39.24% -0.0772 0.0674)
OKLCHoklch(39.24% 0.103 138.9)
XYZxyz(3.9249, 6.4855, 1.8039)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255216 #431652
analogous
#435216 #255216 #165225
triadic
#255216 #162552 #521625
tetradic
#255216 #164352 #431652 #522516
square
#255216 #164352 #431652 #522516
split-complementary
#255216 #251652 #521643
monochromatic
#0B1806 #0F2209 #255216 #3B8223 #51B330

Accessibility & contrast

On white

9.14
#255216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#255216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255216
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255216#FFFFFF#000000##FFFFFF
##2552161.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#214F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #255216;
/* rgb */ color: rgb(37, 82, 22);
/* oklch */ color: oklch(39.2% 0.102 138.9);
Tailwind
colors: {
  custom: {
    50: '#658357',
    500: '#255216',
    950: '#000000',
  },
}
SCSS
$custom: #255216;
$custom-light: #658357;
$custom-dark: #000000;
JSON
{
  "hex": "#255216",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 105,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3924,
    "c": 0.1025,
    "h": 138.9
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#255216
secondary
#763A89
accent
#47E1BA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #255216

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

Preview Lab → · Contrast checker → · Palette generator →

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