#255128#255128

#255128 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.083 H 145.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#255128
RGBrgb(37, 81, 40)
HSLhsl(124, 37%, 23%)
HSVhsv(124, 54%, 32%)
CMYKcmyk(54.3%, 0%, 50.6%, 68.2%)
CIE-LABlab(30.48, -25.14, 19.50)
CIE-LCHlch(30.48, 31.81, 142.19°)
OKLaboklab(39.21% -0.0683 0.0476)
OKLCHoklch(39.21% 0.083 145.1)
XYZxyz(4.0882, 6.4311, 3.0330)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255128 #51254E
analogous
#385125 #255128 #25513E
triadic
#255128 #282551 #512825
tetradic
#255128 #253851 #51254E #513E25
square
#255128 #253851 #51254E #513E25
split-complementary
#255128 #3E2551 #512538
monochromatic
#0A150A #122713 #255128 #387B3D #4BA551

Accessibility & contrast

On white

9.19
#255128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#255128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255128
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255128#FFFFFF#000000##FFFFFF
##2551281.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#4C462B
Tritanopia (blue-blind)
#1E4F47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #255128;
/* rgb */ color: rgb(37, 81, 40);
/* oklch */ color: oklch(39.2% 0.083 145.1);
Tailwind
colors: {
  custom: {
    50: '#638262',
    500: '#255128',
    950: '#000000',
  },
}
SCSS
$custom: #255128;
$custom-light: #638262;
$custom-dark: #000000;
JSON
{
  "hex": "#255128",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 40
  },
  "hsl": {
    "h": 124.091,
    "s": 37.288,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39206,
    "c": 0.08321,
    "h": 145.1
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#255128
secondary
#844E81
accent
#5BC5CD
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#050A05
muted
#7A7C79

Preview Lab

Preview with #255128

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

Preview Lab → · Contrast checker → · Palette generator →

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