#255F2D#255F2D

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

Color values

HEX#255F2D
RGBrgb(37, 95, 45)
HSLhsl(128, 44%, 26%)
HSVhsv(128, 61%, 37%)
CMYKcmyk(61.1%, 0%, 52.6%, 62.7%)
CIE-LABlab(35.53, -30.75, 22.96)
CIE-LCHlch(35.53, 38.38, 143.26°)
OKLaboklab(43.38% -0.0833 0.0557)
OKLCHoklch(43.38% 0.1 146.2)
XYZxyz(5.3285, 8.7667, 3.8935)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F2D #5F2557
analogous
#3A5F25 #255F2D #255F4A
triadic
#255F2D #2D255F #5F2D25
tetradic
#255F2D #253A5F #5F2557 #5F4A25
square
#255F2D #253A5F #5F2557 #5F4A25
split-complementary
#255F2D #4A255F #5F253A
monochromatic
#09160A #143318 #255F2D #368B42 #47B757

Accessibility & contrast

On white

7.63
#255F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255F2D
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F2D#FFFFFF#000000##FFFFFF
##255F2D1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605729
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#195D53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #255f2d;
/* rgb */ color: rgb(37, 95, 45);
/* oklch */ color: oklch(43.4% 0.100 146.2);
Tailwind
colors: {
  custom: {
    50: '#668d67',
    500: '#255f2d',
    950: '#000000',
  },
}
SCSS
$custom: #255f2d;
$custom-light: #668d67;
$custom-dark: #000000;
JSON
{
  "hex": "#255f2d",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 128.276,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.10016,
    "h": 146.2
  },
  "luminance": 0.08767
}

Semantic roles & 50–950 ramp

primary
#255F2D
secondary
#924D89
accent
#54C2D4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #255F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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