#255F17#255F17

#255F17 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.120 H 140.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#255F17
RGBrgb(37, 95, 23)
HSLhsl(108, 61%, 23%)
HSVhsv(108, 76%, 37%)
CMYKcmyk(61.1%, 0%, 75.8%, 62.7%)
CIE-LABlab(35.28, -33.57, 33.83)
CIE-LCHlch(35.28, 47.65, 134.78°)
OKLaboklab(43.09% -0.0921 0.0769)
OKLCHoklch(43.09% 0.12 140.1)
XYZxyz(5.0096, 8.6392, 2.2140)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F17 #51175F
analogous
#495F17 #255F17 #175F2D
triadic
#255F17 #17255F #5F1725
tetradic
#255F17 #17495F #51175F #5F2D17
square
#255F17 #17495F #51175F #5F2D17
split-complementary
#255F17 #2D175F #5F1749
monochromatic
#0A1906 #122E0B #255F17 #389023 #4BC22F

Accessibility & contrast

On white

7.70
#255F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#255F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255F17
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F17#FFFFFF#000000##FFFFFF
##255F171.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#1E5C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255f17;
/* rgb */ color: rgb(37, 95, 23);
/* oklch */ color: oklch(43.1% 0.120 140.1);
Tailwind
colors: {
  custom: {
    50: '#678d59',
    500: '#255f17',
    950: '#000000',
  },
}
SCSS
$custom: #255f17;
$custom-light: #678d59;
$custom-dark: #000000;
JSON
{
  "hex": "#255f17",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 108.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.11994,
    "h": 140.1
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#255F17
secondary
#843C96
accent
#44E4C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255F17

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

Preview Lab → · Contrast checker → · Palette generator →

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