#255121#255121

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

Color values

HEX#255121
RGBrgb(37, 81, 33)
HSLhsl(115, 42%, 22%)
HSVhsv(115, 59%, 32%)
CMYKcmyk(54.3%, 0%, 59.3%, 68.2%)
CIE-LABlab(30.37, -26.25, 23.39)
CIE-LCHlch(30.37, 35.16, 138.29°)
OKLaboklab(39.09% -0.0716 0.0558)
OKLCHoklch(39.09% 0.091 142.1)
XYZxyz(3.9797, 6.3877, 2.4618)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255121 #4D2151
analogous
#3D5121 #255121 #215135
triadic
#255121 #212551 #512125
tetradic
#255121 #213D51 #4D2151 #513521
square
#255121 #213D51 #4D2151 #513521
split-complementary
#255121 #352151 #51213D
monochromatic
#0A1609 #11260F #255121 #397C33 #4DA844

Accessibility & contrast

On white

9.22
#255121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255121
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255121#FFFFFF#000000##FFFFFF
##2551211.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1D
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#204F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #255121;
/* rgb */ color: rgb(37, 81, 33);
/* oklch */ color: oklch(39.1% 0.091 142.1);
Tailwind
colors: {
  custom: {
    50: '#64825e',
    500: '#255121',
    950: '#000000',
  },
}
SCSS
$custom: #255121;
$custom-light: #64825e;
$custom-dark: #000000;
JSON
{
  "hex": "#255121",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 115,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.09075,
    "h": 142.1
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#255121
secondary
#804985
accent
#56D2C8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #255121

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

Preview Lab → · Contrast checker → · Palette generator →

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