#255B1A#255B1A

#255B1A is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.112 H 140.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#255B1A
RGBrgb(37, 91, 26)
HSLhsl(110, 56%, 23%)
HSVhsv(110, 71%, 36%)
CMYKcmyk(59.3%, 0%, 71.4%, 64.3%)
CIE-LABlab(33.88, -31.59, 31.00)
CIE-LCHlch(33.88, 44.26, 135.55°)
OKLaboklab(41.95% -0.0865 0.0714)
OKLCHoklch(41.95% 0.112 140.5)
XYZxyz(4.6903, 7.9497, 2.2644)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B1A #501A5B
analogous
#455B1A #255B1A #1A5B2F
triadic
#255B1A #1A255B #5B1A25
tetradic
#255B1A #1A455B #501A5B #5B2F1A
square
#255B1A #1A455B #501A5B #5B2F1A
split-complementary
#255B1A #2F1A5B #5B1A45
monochromatic
#0A1807 #122B0C #255B1A #388B28 #4CBA35

Accessibility & contrast

On white

8.11
#255B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#255B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B1A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B1A#FFFFFF#000000##FFFFFF
##255B1A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5211
Deuteranopia (green-blind)
#574E20
Tritanopia (blue-blind)
#1F584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255b1a;
/* rgb */ color: rgb(37, 91, 26);
/* oklch */ color: oklch(41.9% 0.112 140.5);
Tailwind
colors: {
  custom: {
    50: '#668a5a',
    500: '#255b1a',
    950: '#000000',
  },
}
SCSS
$custom: #255b1a;
$custom-light: #668a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#255b1a",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 26
  },
  "hsl": {
    "h": 109.846,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.11215,
    "h": 140.5
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#255B1A
secondary
#834091
accent
#49DFC5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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