#255018#255018

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

Color values

HEX#255018
RGBrgb(37, 80, 24)
HSLhsl(106, 54%, 20%)
HSVhsv(106, 70%, 31%)
CMYKcmyk(53.7%, 0%, 70%, 68.6%)
CIE-LABlab(29.90, -26.94, 27.63)
CIE-LCHlch(29.90, 38.59, 134.27°)
OKLaboklab(38.67% -0.074 0.064)
OKLCHoklch(38.67% 0.098 139.2)
XYZxyz(3.7963, 6.1963, 1.8599)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255018 #431850
analogous
#415018 #255018 #185027
triadic
#255018 #182550 #501825
tetradic
#255018 #184150 #431850 #502718
square
#255018 #184150 #431850 #502718
split-complementary
#255018 #271850 #501841
monochromatic
#0B1807 #0F210A #255018 #3B7F26 #51AE34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255018#FFFFFF#000000##FFFFFF
##2550181.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)
#524911
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#214D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #255018;
/* rgb */ color: rgb(37, 80, 24);
/* oklch */ color: oklch(38.7% 0.098 139.2);
Tailwind
colors: {
  custom: {
    50: '#648158',
    500: '#255018',
    950: '#000000',
  },
}
SCSS
$custom: #255018;
$custom-light: #648158;
$custom-dark: #000000;
JSON
{
  "hex": "#255018",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 106.071,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38668,
    "c": 0.09786,
    "h": 139.2
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#255018
secondary
#763D87
accent
#4BDDBB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #255018

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

Preview Lab → · Contrast checker → · Palette generator →

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