#255211#255211

#255211 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.106 H 137.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#255211
RGBrgb(37, 82, 17)
HSLhsl(102, 66%, 19%)
HSVhsv(102, 79%, 32%)
CMYKcmyk(54.9%, 0%, 79.3%, 67.8%)
CIE-LABlab(30.56, -28.53, 31.56)
CIE-LCHlch(30.56, 42.54, 132.11°)
OKLaboklab(39.19% -0.0789 0.0712)
OKLCHoklch(39.19% 0.106 137.9)
XYZxyz(3.8813, 6.4681, 1.5741)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255211 #3E1152
analogous
#465211 #255211 #11521D
triadic
#255211 #112552 #521125
tetradic
#255211 #114652 #3E1152 #521D11
square
#255211 #114652 #3E1152 #521D11
split-complementary
#255211 #1D1152 #521146
monochromatic
#0B1905 #0E1F06 #255211 #3C851C #53B726

Accessibility & contrast

On white

9.16
#255211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255211
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255211#FFFFFF#000000##FFFFFF
##2552111.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A06
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#224F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #255211;
/* rgb */ color: rgb(37, 82, 17);
/* oklch */ color: oklch(39.2% 0.106 137.9);
Tailwind
colors: {
  custom: {
    50: '#658354',
    500: '#255211',
    950: '#000000',
  },
}
SCSS
$custom: #255211;
$custom-light: #658354;
$custom-dark: #000000;
JSON
{
  "hex": "#255211",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 101.538,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.10627,
    "h": 137.9
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#255211
secondary
#70348B
accent
#3FE9B4
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #255211

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

Preview Lab → · Contrast checker → · Palette generator →

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