#255118#255118

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

Color values

HEX#255118
RGBrgb(37, 81, 24)
HSLhsl(106, 54%, 21%)
HSVhsv(106, 70%, 32%)
CMYKcmyk(54.3%, 0%, 70.4%, 68.2%)
CIE-LABlab(30.26, -27.40, 28.03)
CIE-LCHlch(30.26, 39.20, 134.35°)
OKLaboklab(38.96% -0.0753 0.0648)
OKLCHoklch(38.96% 0.099 139.3)
XYZxyz(3.8701, 6.3438, 1.8845)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255118 #441851
analogous
#415118 #255118 #185127
triadic
#255118 #182551 #511825
tetradic
#255118 #184151 #441851 #512718
square
#255118 #184151 #441851 #512718
split-complementary
#255118 #271851 #511841
monochromatic
#0B1807 #0F220A #255118 #3B8026 #50AF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##255118#FFFFFF#000000##FFFFFF
##2551181.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)
#534A11
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#214E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #255118;
/* rgb */ color: rgb(37, 81, 24);
/* oklch */ color: oklch(39.0% 0.099 139.3);
Tailwind
colors: {
  custom: {
    50: '#648258',
    500: '#255118',
    950: '#000000',
  },
}
SCSS
$custom: #255118;
$custom-light: #648258;
$custom-dark: #000000;
JSON
{
  "hex": "#255118",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 106.316,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.09936,
    "h": 139.3
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#255118
secondary
#773D88
accent
#4ADEBC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #255118

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

Preview Lab → · Contrast checker → · Palette generator →

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