#255015#255015

#255015 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.100 H 138.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#255015
RGBrgb(37, 80, 21)
HSLhsl(104, 58%, 20%)
HSVhsv(104, 74%, 31%)
CMYKcmyk(53.7%, 0%, 73.7%, 68.6%)
CIE-LABlab(29.87, -27.26, 29.06)
CIE-LCHlch(29.87, 39.84, 133.17°)
OKLaboklab(38.64% -0.0751 0.0666)
OKLCHoklch(38.64% 0.1 138.5)
XYZxyz(3.7668, 6.1845, 1.7046)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255015 #401550
analogous
#435015 #255015 #155023
triadic
#255015 #152550 #501525
tetradic
#255015 #154350 #401550 #502315
square
#255015 #154350 #401550 #502315
split-complementary
#255015 #231550 #501543
monochromatic
#0B1806 #0F2008 #255015 #3B8022 #52B12E

Accessibility & contrast

On white

9.39
#255015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255015
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255015#FFFFFF#000000##FFFFFF
##2550151.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#224D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #255015;
/* rgb */ color: rgb(37, 80, 21);
/* oklch */ color: oklch(38.6% 0.100 138.5);
Tailwind
colors: {
  custom: {
    50: '#648156',
    500: '#255015',
    950: '#000000',
  },
}
SCSS
$custom: #255015;
$custom-light: #648156;
$custom-dark: #000000;
JSON
{
  "hex": "#255015",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 103.729,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.1004,
    "h": 138.5
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#255015
secondary
#723988
accent
#46E2B7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #255015

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

Preview Lab → · Contrast checker → · Palette generator →

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