#255C28#255C28

#255C28 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.101 H 144.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#255C28
RGBrgb(37, 92, 40)
HSLhsl(123, 43%, 25%)
HSVhsv(123, 60%, 36%)
CMYKcmyk(59.8%, 0%, 56.5%, 63.9%)
CIE-LABlab(34.40, -30.22, 24.36)
CIE-LCHlch(34.40, 38.82, 141.13°)
OKLaboklab(42.43% -0.082 0.0585)
OKLCHoklch(42.43% 0.101 144.5)
XYZxyz(4.9728, 8.2004, 3.3278)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C28 #5C2559
analogous
#3D5C25 #255C28 #255C43
triadic
#255C28 #28255C #5C2825
tetradic
#255C28 #253D5C #5C2559 #5C4325
square
#255C28 #253D5C #5C2559 #5C4325
split-complementary
#255C28 #43255C #5C253D
monochromatic
#091609 #133015 #255C28 #37883B #48B34E

Accessibility & contrast

On white

7.95
#255C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#255C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255C28
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C28#FFFFFF#000000##FFFFFF
##255C281.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#1B5A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255c28;
/* rgb */ color: rgb(37, 92, 40);
/* oklch */ color: oklch(42.4% 0.101 144.5);
Tailwind
colors: {
  custom: {
    50: '#658b63',
    500: '#255c28',
    950: '#000000',
  },
}
SCSS
$custom: #255c28;
$custom-light: #658b63;
$custom-dark: #000000;
JSON
{
  "hex": "#255c28",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 123.273,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42425,
    "c": 0.10071,
    "h": 144.5
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#255C28
secondary
#8F4D8C
accent
#55CCD2
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #255C28

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

Preview Lab → · Contrast checker → · Palette generator →

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