#255B2C#255B2C

#255B2C is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.095 H 146.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#255B2C
RGBrgb(37, 91, 44)
HSLhsl(128, 42%, 25%)
HSVhsv(128, 59%, 36%)
CMYKcmyk(59.3%, 0%, 51.6%, 64.3%)
CIE-LABlab(34.10, -29.13, 21.74)
CIE-LCHlch(34.10, 36.35, 143.26°)
OKLaboklab(42.2% -0.0789 0.0529)
OKLCHoklch(42.2% 0.095 146.2)
XYZxyz(4.9584, 8.0569, 3.6762)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B2C #5B2554
analogous
#395B25 #255B2C #255B47
triadic
#255B2C #2C255B #5B2C25
tetradic
#255B2C #25395B #5B2554 #5B4725
square
#255B2C #25395B #5B2554 #5B4725
split-complementary
#255B2C #47255B #5B2539
monochromatic
#09160B #132F17 #255B2C #378741 #48B256

Accessibility & contrast

On white

8.04
#255B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#255B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B2C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B2C#FFFFFF#000000##FFFFFF
##255B2C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5328
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#1B5950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255b2c;
/* rgb */ color: rgb(37, 91, 44);
/* oklch */ color: oklch(42.2% 0.095 146.2);
Tailwind
colors: {
  custom: {
    50: '#658a66',
    500: '#255b2c',
    950: '#000000',
  },
}
SCSS
$custom: #255b2c;
$custom-light: #658a66;
$custom-dark: #000000;
JSON
{
  "hex": "#255b2c",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 44
  },
  "hsl": {
    "h": 127.778,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.09499,
    "h": 146.2
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#255B2C
secondary
#8E4D86
accent
#56C2D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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