#255B28#255B28

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

Color values

HEX#255B28
RGBrgb(37, 91, 40)
HSLhsl(123, 42%, 25%)
HSVhsv(123, 59%, 36%)
CMYKcmyk(59.3%, 0%, 56%, 64.3%)
CIE-LABlab(34.04, -29.77, 23.93)
CIE-LCHlch(34.04, 38.20, 141.21°)
OKLaboklab(42.13% -0.0808 0.0575)
OKLCHoklch(42.13% 0.099 144.6)
XYZxyz(4.8868, 8.0283, 3.2992)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B28 #5B2558
analogous
#3D5B25 #255B28 #255B43
triadic
#255B28 #28255B #5B2825
tetradic
#255B28 #253D5B #5B2558 #5B4325
square
#255B28 #253D5B #5B2558 #5B4325
split-complementary
#255B28 #43255B #5B253D
monochromatic
#09160A #132F15 #255B28 #37873B #48B24E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255B28#FFFFFF#000000##FFFFFF
##255B281.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255b28;
/* rgb */ color: rgb(37, 91, 40);
/* oklch */ color: oklch(42.1% 0.099 144.6);
Tailwind
colors: {
  custom: {
    50: '#658a63',
    500: '#255b28',
    950: '#000000',
  },
}
SCSS
$custom: #255b28;
$custom-light: #658a63;
$custom-dark: #000000;
JSON
{
  "hex": "#255b28",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 40
  },
  "hsl": {
    "h": 123.333,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.09917,
    "h": 144.6
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#255B28
secondary
#8E4D8B
accent
#56CBD2
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #255B28

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

Preview Lab → · Contrast checker → · Palette generator →

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