#255012#255012

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

Color values

HEX#255012
RGBrgb(37, 80, 18)
HSLhsl(102, 63%, 19%)
HSVhsv(102, 78%, 31%)
CMYKcmyk(53.7%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.85, -27.54, 30.40)
CIE-LCHlch(29.85, 41.02, 132.17°)
OKLaboklab(38.61% -0.0761 0.069)
OKLCHoklch(38.61% 0.103 137.8)
XYZxyz(3.7407, 6.1740, 1.5667)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255012 #3D1250
analogous
#445012 #255012 #12501E
triadic
#255012 #122550 #501225
tetradic
#255012 #124450 #3D1250 #501E12
square
#255012 #124450 #3D1250 #501E12
split-complementary
#255012 #1E1250 #501244
monochromatic
#0C1906 #0E1E07 #255012 #3C821D #53B428

Accessibility & contrast

On white

9.40
#255012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#255012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255012
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255012#FFFFFF#000000##FFFFFF
##2550121.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#224D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #255012;
/* rgb */ color: rgb(37, 80, 18);
/* oklch */ color: oklch(38.6% 0.103 137.8);
Tailwind
colors: {
  custom: {
    50: '#648154',
    500: '#255012',
    950: '#000000',
  },
}
SCSS
$custom: #255012;
$custom-light: #648154;
$custom-dark: #000000;
JSON
{
  "hex": "#255012",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 101.613,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.10272,
    "h": 137.8
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#255012
secondary
#6F3589
accent
#41E6B4
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #255012

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

Preview Lab → · Contrast checker → · Palette generator →

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