#255124#255124

#255124 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.088 H 143.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#255124
RGBrgb(37, 81, 36)
HSLhsl(119, 38%, 23%)
HSVhsv(119, 56%, 32%)
CMYKcmyk(54.3%, 0%, 55.6%, 68.2%)
CIE-LABlab(30.41, -25.80, 21.75)
CIE-LCHlch(30.41, 33.74, 139.86°)
OKLaboklab(39.14% -0.0702 0.0524)
OKLCHoklch(39.14% 0.088 143.3)
XYZxyz(4.0236, 6.4052, 2.6930)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255124 #502451
analogous
#3B5124 #255124 #245139
triadic
#255124 #242551 #512425
tetradic
#255124 #243B51 #502451 #513924
square
#255124 #243B51 #502451 #513924
split-complementary
#255124 #392451 #51243B
monochromatic
#0A1509 #122711 #255124 #387B37 #4CA64A

Accessibility & contrast

On white

9.21
#255124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#255124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255124
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255124#FFFFFF#000000##FFFFFF
##2551241.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A20
Deuteranopia (green-blind)
#4D4627
Tritanopia (blue-blind)
#1F4F47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #255124;
/* rgb */ color: rgb(37, 81, 36);
/* oklch */ color: oklch(39.1% 0.088 143.3);
Tailwind
colors: {
  custom: {
    50: '#648260',
    500: '#255124',
    950: '#000000',
  },
}
SCSS
$custom: #255124;
$custom-light: #648260;
$custom-dark: #000000;
JSON
{
  "hex": "#255124",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 36
  },
  "hsl": {
    "h": 118.667,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.08759,
    "h": 143.3
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#255124
secondary
#834C85
accent
#59CECC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050A05
muted
#7A7C79

Preview Lab

Preview with #255124

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

Preview Lab → · Contrast checker → · Palette generator →

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