#255116#255116

#255116 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.101 H 138.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#255116
RGBrgb(37, 81, 22)
HSLhsl(105, 57%, 20%)
HSVhsv(105, 73%, 32%)
CMYKcmyk(54.3%, 0%, 72.8%, 68.2%)
CIE-LABlab(30.24, -27.61, 28.98)
CIE-LCHlch(30.24, 40.03, 133.61°)
OKLaboklab(38.94% -0.076 0.0666)
OKLCHoklch(38.94% 0.101 138.8)
XYZxyz(3.8501, 6.3358, 1.7790)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255116 #421651
analogous
#425116 #255116 #165124
triadic
#255116 #162551 #511625
tetradic
#255116 #164251 #421651 #512416
square
#255116 #164251 #421651 #512416
split-complementary
#255116 #241651 #511642
monochromatic
#0B1807 #0F2109 #255116 #3B8123 #51B130

Accessibility & contrast

On white

9.26
#255116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#255116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255116
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255116#FFFFFF#000000##FFFFFF
##2551161.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#214E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #255116;
/* rgb */ color: rgb(37, 81, 22);
/* oklch */ color: oklch(38.9% 0.101 138.8);
Tailwind
colors: {
  custom: {
    50: '#648256',
    500: '#255116',
    950: '#000000',
  },
}
SCSS
$custom: #255116;
$custom-light: #648256;
$custom-dark: #000000;
JSON
{
  "hex": "#255116",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 104.746,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38943,
    "c": 0.10105,
    "h": 138.8
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#255116
secondary
#753A88
accent
#47E1BA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #255116

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

Preview Lab → · Contrast checker → · Palette generator →

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