#255E17#255E17

#255E17 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.119 H 140.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#255E17
RGBrgb(37, 94, 23)
HSLhsl(108, 61%, 23%)
HSVhsv(108, 76%, 37%)
CMYKcmyk(60.6%, 0%, 75.5%, 63.1%)
CIE-LABlab(34.92, -33.15, 33.46)
CIE-LCHlch(34.92, 47.10, 134.74°)
OKLaboklab(42.8% -0.0909 0.0761)
OKLCHoklch(42.8% 0.119 140.1)
XYZxyz(4.9201, 8.4602, 2.1841)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255E17 #50175E
analogous
#485E17 #255E17 #175E2C
triadic
#255E17 #17255E #5E1725
tetradic
#255E17 #17485E #50175E #5E2C17
square
#255E17 #17485E #50175E #5E2C17
split-complementary
#255E17 #2C175E #5E1748
monochromatic
#0A1906 #122D0B #255E17 #388F23 #4CC02F

Accessibility & contrast

On white

7.80
#255E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#255E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255E17
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255E17#FFFFFF#000000##FFFFFF
##255E171.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#1E5B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255e17;
/* rgb */ color: rgb(37, 94, 23);
/* oklch */ color: oklch(42.8% 0.119 140.1);
Tailwind
colors: {
  custom: {
    50: '#678c59',
    500: '#255e17',
    950: '#000000',
  },
}
SCSS
$custom: #255e17;
$custom-light: #678c59;
$custom-dark: #000000;
JSON
{
  "hex": "#255e17",
  "rgb": {
    "r": 37,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 108.169,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42799,
    "c": 0.11858,
    "h": 140.1
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#255E17
secondary
#833C95
accent
#44E4C4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #255E17

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

Preview Lab → · Contrast checker → · Palette generator →

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