#255C1A#255C1A

#255C1A is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.114 H 140.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#255C1A
RGBrgb(37, 92, 26)
HSLhsl(110, 56%, 23%)
HSVhsv(110, 72%, 36%)
CMYKcmyk(59.8%, 0%, 71.7%, 63.9%)
CIE-LABlab(34.24, -32.02, 31.38)
CIE-LCHlch(34.24, 44.84, 135.58°)
OKLaboklab(42.24% -0.0877 0.0722)
OKLCHoklch(42.24% 0.114 140.5)
XYZxyz(4.7763, 8.1218, 2.2930)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255C1A #511A5C
analogous
#465C1A #255C1A #1A5C30
triadic
#255C1A #1A255C #5C1A25
tetradic
#255C1A #1A465C #511A5C #5C301A
square
#255C1A #1A465C #511A5C #5C301A
split-complementary
#255C1A #301A5C #5C1A46
monochromatic
#0A1807 #122C0D #255C1A #388C27 #4BBB35

Accessibility & contrast

On white

8.00
#255C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#255C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255C1A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255C1A#FFFFFF#000000##FFFFFF
##255C1A1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5311
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#1E594F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255c1a;
/* rgb */ color: rgb(37, 92, 26);
/* oklch */ color: oklch(42.2% 0.114 140.5);
Tailwind
colors: {
  custom: {
    50: '#668b5a',
    500: '#255c1a',
    950: '#000000',
  },
}
SCSS
$custom: #255c1a;
$custom-light: #668b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#255c1a",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 26
  },
  "hsl": {
    "h": 110,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.11356,
    "h": 140.5
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#255C1A
secondary
#844092
accent
#49DFC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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