#255F2C#255F2C

#255F2C is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.101 H 145.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#255F2C
RGBrgb(37, 95, 44)
HSLhsl(127, 44%, 26%)
HSVhsv(127, 61%, 37%)
CMYKcmyk(61.1%, 0%, 53.7%, 62.7%)
CIE-LABlab(35.52, -30.92, 23.50)
CIE-LCHlch(35.52, 38.84, 142.76°)
OKLaboklab(43.36% -0.0837 0.0568)
OKLCHoklch(43.36% 0.101 145.8)
XYZxyz(5.3095, 8.7591, 3.7933)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F2C #5F2558
analogous
#3B5F25 #255F2C #255F49
triadic
#255F2C #2C255F #5F2C25
tetradic
#255F2C #253B5F #5F2558 #5F4925
square
#255F2C #253B5F #5F2558 #5F4925
split-complementary
#255F2C #49255F #5F253B
monochromatic
#09160A #143318 #255F2C #368B40 #47B755

Accessibility & contrast

On white

7.63
#255F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#255F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F2C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F2C#FFFFFF#000000##FFFFFF
##255F2C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605728
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#195D53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #255f2c;
/* rgb */ color: rgb(37, 95, 44);
/* oklch */ color: oklch(43.4% 0.101 145.8);
Tailwind
colors: {
  custom: {
    50: '#668d66',
    500: '#255f2c',
    950: '#000000',
  },
}
SCSS
$custom: #255f2c;
$custom-light: #668d66;
$custom-dark: #000000;
JSON
{
  "hex": "#255f2c",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 127.241,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.1012,
    "h": 145.8
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#255F2C
secondary
#924D8A
accent
#54C4D4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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