#255C2C#255C2C

#255C2C is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.5% C 0.097 H 146.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#255C2C
RGBrgb(37, 92, 44)
HSLhsl(128, 43%, 25%)
HSVhsv(128, 60%, 36%)
CMYKcmyk(59.8%, 0%, 52.2%, 63.9%)
CIE-LABlab(34.46, -29.58, 22.18)
CIE-LCHlch(34.46, 36.97, 143.13°)
OKLaboklab(42.49% -0.0801 0.0539)
OKLCHoklch(42.49% 0.097 146.1)
XYZxyz(5.0444, 8.2290, 3.7049)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C2C #5C2555
analogous
#3A5C25 #255C2C #255C47
triadic
#255C2C #2C255C #5C2C25
tetradic
#255C2C #253A5C #5C2555 #5C4725
square
#255C2C #253A5C #5C2555 #5C4725
split-complementary
#255C2C #47255C #5C253A
monochromatic
#09160A #133017 #255C2C #378841 #48B356

Accessibility & contrast

On white

7.94
#255C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#255C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255C2C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C2C#FFFFFF#000000##FFFFFF
##255C2C1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5428
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#1A5A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255c2c;
/* rgb */ color: rgb(37, 92, 44);
/* oklch */ color: oklch(42.5% 0.097 146.1);
Tailwind
colors: {
  custom: {
    50: '#658b66',
    500: '#255c2c',
    950: '#000000',
  },
}
SCSS
$custom: #255c2c;
$custom-light: #658b66;
$custom-dark: #000000;
JSON
{
  "hex": "#255c2c",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 44
  },
  "hsl": {
    "h": 127.636,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.09655,
    "h": 146.1
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#255C2C
secondary
#8F4D87
accent
#55C3D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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