#255F28#255F28

#255F28 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.105 H 144.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#255F28
RGBrgb(37, 95, 40)
HSLhsl(123, 44%, 26%)
HSVhsv(123, 61%, 37%)
CMYKcmyk(61.1%, 0%, 57.9%, 62.7%)
CIE-LABlab(35.46, -31.54, 25.64)
CIE-LCHlch(35.46, 40.65, 140.88°)
OKLaboklab(43.3% -0.0856 0.0613)
OKLCHoklch(43.3% 0.105 144.4)
XYZxyz(5.2379, 8.7305, 3.4162)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F28 #5F255C
analogous
#3F5F25 #255F28 #255F45
triadic
#255F28 #28255F #5F2825
tetradic
#255F28 #253F5F #5F255C #5F4525
square
#255F28 #253F5F #5F255C #5F4525
split-complementary
#255F28 #45255F #5F253F
monochromatic
#091609 #143315 #255F28 #368B3B #47B74D

Accessibility & contrast

On white

7.65
#255F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#255F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F28
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F28#FFFFFF#000000##FFFFFF
##255F281.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615723
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#1B5C53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255f28;
/* rgb */ color: rgb(37, 95, 40);
/* oklch */ color: oklch(43.3% 0.105 144.4);
Tailwind
colors: {
  custom: {
    50: '#668d63',
    500: '#255f28',
    950: '#000000',
  },
}
SCSS
$custom: #255f28;
$custom-light: #668d63;
$custom-dark: #000000;
JSON
{
  "hex": "#255f28",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 123.103,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.433,
    "c": 0.10526,
    "h": 144.4
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#255F28
secondary
#924D8F
accent
#54CDD4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #255F28

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

Preview Lab → · Contrast checker → · Palette generator →

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