#255138#255138

#255138 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.6% C 0.065 H 156.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#255138
RGBrgb(37, 81, 56)
HSLhsl(146, 37%, 23%)
HSVhsv(146, 54%, 32%)
CMYKcmyk(54.3%, 0%, 30.9%, 68.2%)
CIE-LABlab(30.79, -21.90, 10.15)
CIE-LCHlch(30.79, 24.14, 155.14°)
OKLaboklab(39.57% -0.06 0.0258)
OKLCHoklch(39.57% 0.065 156.7)
XYZxyz(4.4188, 6.5633, 4.7746)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255138 #51253E
analogous
#285125 #255138 #25514E
triadic
#255138 #382551 #513825
tetradic
#255138 #252851 #51253E #514E25
square
#255138 #252851 #51253E #514E25
split-complementary
#255138 #4E2551 #512528
monochromatic
#0A150F #12271B #255138 #387B55 #4BA572

Accessibility & contrast

On white

9.08
#255138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#255138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255138
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255138#FFFFFF#000000##FFFFFF
##2551381.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B37
Deuteranopia (green-blind)
#4A473A
Tritanopia (blue-blind)
#19504A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #255138;
/* rgb */ color: rgb(37, 81, 56);
/* oklch */ color: oklch(39.6% 0.065 156.7);
Tailwind
colors: {
  custom: {
    50: '#63826e',
    500: '#255138',
    950: '#000000',
  },
}
SCSS
$custom: #255138;
$custom-light: #63826e;
$custom-dark: #000000;
JSON
{
  "hex": "#255138",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 145.909,
    "s": 37.288,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.06528,
    "h": 156.7
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#255138
secondary
#844E6D
accent
#5B9CCD
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050A07
muted
#7A7C7A

Preview Lab

Preview with #255138

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

Preview Lab → · Contrast checker → · Palette generator →

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