#255017#255017

#255017 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.099 H 138.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#255017
RGBrgb(37, 80, 23)
HSLhsl(105, 55%, 20%)
HSVhsv(105, 71%, 31%)
CMYKcmyk(53.7%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.89, -27.05, 28.12)
CIE-LCHlch(29.89, 39.02, 133.89°)
OKLaboklab(38.66% -0.0744 0.0649)
OKLCHoklch(38.66% 0.099 138.9)
XYZxyz(3.7861, 6.1922, 1.8062)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255017 #421750
analogous
#415017 #255017 #175025
triadic
#255017 #172550 #501725
tetradic
#255017 #174150 #421750 #502517
square
#255017 #174150 #421750 #502517
split-complementary
#255017 #251750 #501741
monochromatic
#0B1807 #0F2009 #255017 #3B8025 #51AF32

Accessibility & contrast

On white

9.38
#255017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#255017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255017
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255017#FFFFFF#000000##FFFFFF
##2550171.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#214D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #255017;
/* rgb */ color: rgb(37, 80, 23);
/* oklch */ color: oklch(38.7% 0.099 138.9);
Tailwind
colors: {
  custom: {
    50: '#648157',
    500: '#255017',
    950: '#000000',
  },
}
SCSS
$custom: #255017;
$custom-light: #648157;
$custom-dark: #000000;
JSON
{
  "hex": "#255017",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 105.263,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38656,
    "c": 0.09873,
    "h": 138.9
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#255017
secondary
#753C87
accent
#49DFBA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #255017

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

Preview Lab → · Contrast checker → · Palette generator →

#255017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva