#255F2A#255F2A

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

Color values

HEX#255F2A
RGBrgb(37, 95, 42)
HSLhsl(125, 44%, 26%)
HSVhsv(125, 61%, 37%)
CMYKcmyk(61.1%, 0%, 55.8%, 62.7%)
CIE-LABlab(35.49, -31.23, 24.58)
CIE-LCHlch(35.49, 39.75, 141.80°)
OKLaboklab(43.33% -0.0847 0.0591)
OKLCHoklch(43.33% 0.103 145.1)
XYZxyz(5.2728, 8.7444, 3.6000)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F2A #5F255A
analogous
#3D5F25 #255F2A #255F47
triadic
#255F2A #2A255F #5F2A25
tetradic
#255F2A #253D5F #5F255A #5F4725
square
#255F2A #253D5F #5F255A #5F4725
split-complementary
#255F2A #47255F #5F253D
monochromatic
#09160A #143317 #255F2A #368B3D #47B751

Accessibility & contrast

On white

7.64
#255F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255F2A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F2A#FFFFFF#000000##FFFFFF
##255F2A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615725
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#1A5D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255f2a;
/* rgb */ color: rgb(37, 95, 42);
/* oklch */ color: oklch(43.3% 0.103 145.1);
Tailwind
colors: {
  custom: {
    50: '#668d65',
    500: '#255f2a',
    950: '#000000',
  },
}
SCSS
$custom: #255f2a;
$custom-light: #668d65;
$custom-dark: #000000;
JSON
{
  "hex": "#255f2a",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 125.172,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.10325,
    "h": 145.1
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#255F2A
secondary
#924D8C
accent
#54C9D4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #255F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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