#255B26#255B26

#255B26 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.101 H 143.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#255B26
RGBrgb(37, 91, 38)
HSLhsl(121, 42%, 25%)
HSVhsv(121, 59%, 36%)
CMYKcmyk(59.3%, 0%, 58.2%, 64.3%)
CIE-LABlab(34.01, -30.08, 25.00)
CIE-LCHlch(34.01, 39.11, 140.27°)
OKLaboklab(42.1% -0.0817 0.0597)
OKLCHoklch(42.1% 0.101 143.8)
XYZxyz(4.8536, 8.0150, 3.1246)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255B26 #5B255A
analogous
#3F5B25 #255B26 #255B41
triadic
#255B26 #26255B #5B2625
tetradic
#255B26 #253F5B #5B255A #5B4125
square
#255B26 #253F5B #5B255A #5B4125
split-complementary
#255B26 #41255B #5B253F
monochromatic
#091609 #132F14 #255B26 #378738 #48B24A

Accessibility & contrast

On white

8.07
#255B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#255B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255B26
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255B26#FFFFFF#000000##FFFFFF
##255B261.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5321
Deuteranopia (green-blind)
#564E2A
Tritanopia (blue-blind)
#1C594F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255b26;
/* rgb */ color: rgb(37, 91, 38);
/* oklch */ color: oklch(42.1% 0.101 143.8);
Tailwind
colors: {
  custom: {
    50: '#658a62',
    500: '#255b26',
    950: '#000000',
  },
}
SCSS
$custom: #255b26;
$custom-light: #658a62;
$custom-dark: #000000;
JSON
{
  "hex": "#255b26",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 38
  },
  "hsl": {
    "h": 121.111,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.1012,
    "h": 143.8
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#255B26
secondary
#8E4D8D
accent
#56D0D2
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #255B26

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

Preview Lab → · Contrast checker → · Palette generator →

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