#255F2F#255F2F

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

Color values

HEX#255F2F
RGBrgb(37, 95, 47)
HSLhsl(130, 44%, 26%)
HSVhsv(130, 61%, 37%)
CMYKcmyk(61.1%, 0%, 50.5%, 62.7%)
CIE-LABlab(35.56, -30.42, 21.86)
CIE-LCHlch(35.56, 37.46, 144.30°)
OKLaboklab(43.42% -0.0823 0.0533)
OKLCHoklch(43.42% 0.098 147.1)
XYZxyz(5.3679, 8.7825, 4.1011)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F2F #5F2555
analogous
#385F25 #255F2F #255F4C
triadic
#255F2F #2F255F #5F2F25
tetradic
#255F2F #25385F #5F2555 #5F4C25
square
#255F2F #25385F #5F2555 #5F4C25
split-complementary
#255F2F #4C255F #5F2538
monochromatic
#09160B #143319 #255F2F #368B45 #47B75B

Accessibility & contrast

On white

7.62
#255F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#255F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F2F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F2F#FFFFFF#000000##FFFFFF
##255F2F1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572B
Deuteranopia (green-blind)
#595232
Tritanopia (blue-blind)
#185D54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #255f2f;
/* rgb */ color: rgb(37, 95, 47);
/* oklch */ color: oklch(43.4% 0.098 147.1);
Tailwind
colors: {
  custom: {
    50: '#668d68',
    500: '#255f2f',
    950: '#000000',
  },
}
SCSS
$custom: #255f2f;
$custom-light: #668d68;
$custom-dark: #000000;
JSON
{
  "hex": "#255f2f",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 130.345,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43417,
    "c": 0.09807,
    "h": 147.1
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#255F2F
secondary
#924D86
accent
#54BED4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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