#255A1B#255A1B

#255A1B is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.110 H 140.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#255A1B
RGBrgb(37, 90, 27)
HSLhsl(110, 54%, 23%)
HSVhsv(110, 70%, 35%)
CMYKcmyk(58.9%, 0%, 70%, 64.7%)
CIE-LABlab(33.53, -31.06, 30.14)
CIE-LCHlch(33.53, 43.28, 135.86°)
OKLaboklab(41.66% -0.085 0.0697)
OKLCHoklch(41.66% 0.11 140.7)
XYZxyz(4.6167, 7.7844, 2.2960)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255A1B #501B5A
analogous
#445A1B #255A1B #1B5A30
triadic
#255A1B #1B255A #5A1B25
tetradic
#255A1B #1B445A #501B5A #5A301B
square
#255A1B #1B445A #501B5A #5A301B
split-complementary
#255A1B #301B5A #5A1B44
monochromatic
#0A1807 #122B0D #255A1B #388929 #4CB837

Accessibility & contrast

On white

8.21
#255A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#255A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255A1B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255A1B#FFFFFF#000000##FFFFFF
##255A1B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5213
Deuteranopia (green-blind)
#564D20
Tritanopia (blue-blind)
#1F574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255a1b;
/* rgb */ color: rgb(37, 90, 27);
/* oklch */ color: oklch(41.7% 0.110 140.7);
Tailwind
colors: {
  custom: {
    50: '#66895b',
    500: '#255a1b',
    950: '#000000',
  },
}
SCSS
$custom: #255a1b;
$custom-light: #66895b;
$custom-dark: #000000;
JSON
{
  "hex": "#255a1b",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 27
  },
  "hsl": {
    "h": 110.476,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.10991,
    "h": 140.7
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#255A1B
secondary
#834190
accent
#4BDDC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #255A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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