#255F20#255F20

#255F20 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.113 H 142.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#255F20
RGBrgb(37, 95, 32)
HSLhsl(115, 50%, 25%)
HSVhsv(115, 66%, 37%)
CMYKcmyk(61.1%, 0%, 66.3%, 62.7%)
CIE-LABlab(35.36, -32.62, 29.72)
CIE-LCHlch(35.36, 44.13, 137.66°)
OKLaboklab(43.19% -0.0889 0.0694)
OKLCHoklch(43.19% 0.113 142)
XYZxyz(5.1156, 8.6816, 2.7724)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F20 #5A205F
analogous
#455F20 #255F20 #205F3B
triadic
#255F20 #20255F #5F2025
tetradic
#255F20 #20455F #5A205F #5F3B20
square
#255F20 #20455F #5A205F #5F3B20
split-complementary
#255F20 #3B205F #5F2045
monochromatic
#091708 #133111 #255F20 #378D2F #49BB3F

Accessibility & contrast

On white

7.67
#255F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#255F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F20
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F20#FFFFFF#000000##FFFFFF
##255F201.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#5A5125
Tritanopia (blue-blind)
#1C5C52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255f20;
/* rgb */ color: rgb(37, 95, 32);
/* oklch */ color: oklch(43.2% 0.113 142.0);
Tailwind
colors: {
  custom: {
    50: '#678d5e',
    500: '#255f20',
    950: '#000000',
  },
}
SCSS
$custom: #255f20;
$custom-light: #678d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#255f20",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 115.238,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.11277,
    "h": 142
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#255F20
secondary
#8D4793
accent
#4FD9CE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255F20

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

Preview Lab → · Contrast checker → · Palette generator →

#255F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva