#255C2F#255C2F

#255C2F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.093 H 147.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#255C2F
RGBrgb(37, 92, 47)
HSLhsl(131, 43%, 25%)
HSVhsv(131, 60%, 36%)
CMYKcmyk(59.8%, 0%, 48.9%, 63.9%)
CIE-LABlab(34.50, -29.06, 20.52)
CIE-LCHlch(34.50, 35.58, 144.78°)
OKLaboklab(42.55% -0.0787 0.0502)
OKLCHoklch(42.55% 0.093 147.5)
XYZxyz(5.1029, 8.2524, 4.0127)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C2F #5C2552
analogous
#365C25 #255C2F #255C4A
triadic
#255C2F #2F255C #5C2F25
tetradic
#255C2F #25365C #5C2552 #5C4A25
square
#255C2F #25365C #5C2552 #5C4A25
split-complementary
#255C2F #4A255C #5C2536
monochromatic
#09160B #133019 #255C2F #378845 #48B35C

Accessibility & contrast

On white

7.92
#255C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255C2F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C2F#FFFFFF#000000##FFFFFF
##255C2F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D542C
Deuteranopia (green-blind)
#564F32
Tritanopia (blue-blind)
#195A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255c2f;
/* rgb */ color: rgb(37, 92, 47);
/* oklch */ color: oklch(42.5% 0.093 147.5);
Tailwind
colors: {
  custom: {
    50: '#658b68',
    500: '#255c2f',
    950: '#000000',
  },
}
SCSS
$custom: #255c2f;
$custom-light: #658b68;
$custom-dark: #000000;
JSON
{
  "hex": "#255c2f",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 130.909,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.09336,
    "h": 147.5
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#255C2F
secondary
#8F4D83
accent
#55BCD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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