#255311#255311

#255311 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.5% C 0.108 H 138.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#255311
RGBrgb(37, 83, 17)
HSLhsl(102, 66%, 20%)
HSVhsv(102, 80%, 33%)
CMYKcmyk(55.4%, 0%, 79.5%, 67.5%)
CIE-LABlab(30.93, -28.97, 31.92)
CIE-LCHlch(30.93, 43.11, 132.22°)
OKLaboklab(39.49% -0.0801 0.072)
OKLCHoklch(39.49% 0.108 138)
XYZxyz(3.9572, 6.6200, 1.5995)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255311 #3F1153
analogous
#465311 #255311 #11531E
triadic
#255311 #112553 #531125
tetradic
#255311 #114653 #3F1153 #531E11
square
#255311 #114653 #3F1153 #531E11
split-complementary
#255311 #1E1153 #531146
monochromatic
#0B1905 #0E2007 #255311 #3C861B #52B926

Accessibility & contrast

On white

9.04
#255311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#255311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255311
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255311#FFFFFF#000000##FFFFFF
##2553111.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B05
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#215046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #255311;
/* rgb */ color: rgb(37, 83, 17);
/* oklch */ color: oklch(39.5% 0.108 138.0);
Tailwind
colors: {
  custom: {
    50: '#658454',
    500: '#255311',
    950: '#000000',
  },
}
SCSS
$custom: #255311;
$custom-light: #658454;
$custom-dark: #000000;
JSON
{
  "hex": "#255311",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 101.818,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3949,
    "c": 0.10767,
    "h": 138
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#255311
secondary
#71348C
accent
#3FE9B5
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255311

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

Preview Lab → · Contrast checker → · Palette generator →

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