#255B27#255B27

#255B27 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.100 H 144.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#255B27
RGBrgb(37, 91, 39)
HSLhsl(122, 42%, 25%)
HSVhsv(122, 59%, 36%)
CMYKcmyk(59.3%, 0%, 57.1%, 64.3%)
CIE-LABlab(34.03, -29.93, 24.47)
CIE-LCHlch(34.03, 38.66, 140.73°)
OKLaboklab(42.12% -0.0813 0.0586)
OKLCHoklch(42.12% 0.1 144.2)
XYZxyz(4.8700, 8.0216, 3.2107)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B27 #5B2559
analogous
#3E5B25 #255B27 #255B42
triadic
#255B27 #27255B #5B2725
tetradic
#255B27 #253E5B #5B2559 #5B4225
square
#255B27 #253E5B #5B2559 #5B4225
split-complementary
#255B27 #42255B #5B253E
monochromatic
#091609 #132F14 #255B27 #37873A #48B24C

Accessibility & contrast

On white

8.06
#255B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#255B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B27
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B27#FFFFFF#000000##FFFFFF
##255B271.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5322
Deuteranopia (green-blind)
#564E2B
Tritanopia (blue-blind)
#1C594F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255b27;
/* rgb */ color: rgb(37, 91, 39);
/* oklch */ color: oklch(42.1% 0.100 144.2);
Tailwind
colors: {
  custom: {
    50: '#658a62',
    500: '#255b27',
    950: '#000000',
  },
}
SCSS
$custom: #255b27;
$custom-light: #658a62;
$custom-dark: #000000;
JSON
{
  "hex": "#255b27",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 39
  },
  "hsl": {
    "h": 122.222,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.1002,
    "h": 144.2
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#255B27
secondary
#8E4D8C
accent
#56CDD2
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #255B27

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

Preview Lab → · Contrast checker → · Palette generator →

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