#255115#255115

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

Color values

HEX#255115
RGBrgb(37, 81, 21)
HSLhsl(104, 59%, 20%)
HSVhsv(104, 74%, 32%)
CMYKcmyk(54.3%, 0%, 74.1%, 68.2%)
CIE-LABlab(30.24, -27.71, 29.44)
CIE-LCHlch(30.24, 40.44, 133.26°)
OKLaboklab(38.93% -0.0764 0.0674)
OKLCHoklch(38.93% 0.102 138.6)
XYZxyz(3.8406, 6.3320, 1.7291)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255115 #411551
analogous
#435115 #255115 #155123
triadic
#255115 #152551 #511525
tetradic
#255115 #154351 #411551 #512315
square
#255115 #154351 #411551 #512315
split-complementary
#255115 #231551 #511543
monochromatic
#0B1806 #0F2008 #255115 #3B8222 #51B22E

Accessibility & contrast

On white

9.27
#255115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255115
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255115#FFFFFF#000000##FFFFFF
##2551151.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255115;
/* rgb */ color: rgb(37, 81, 21);
/* oklch */ color: oklch(38.9% 0.102 138.6);
Tailwind
colors: {
  custom: {
    50: '#648256',
    500: '#255115',
    950: '#000000',
  },
}
SCSS
$custom: #255115;
$custom-light: #648256;
$custom-dark: #000000;
JSON
{
  "hex": "#255115",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 104,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38932,
    "c": 0.10186,
    "h": 138.6
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#255115
secondary
#743989
accent
#46E2B8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #255115

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

Preview Lab → · Contrast checker → · Palette generator →

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