#255317#255317

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

Color values

HEX#255317
RGBrgb(37, 83, 23)
HSLhsl(106, 57%, 21%)
HSVhsv(106, 72%, 33%)
CMYKcmyk(55.4%, 0%, 72.3%, 67.5%)
CIE-LABlab(30.98, -28.41, 29.29)
CIE-LCHlch(30.98, 40.81, 134.13°)
OKLaboklab(39.55% -0.0781 0.0673)
OKLCHoklch(39.55% 0.103 139.2)
XYZxyz(4.0107, 6.6414, 1.8810)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255317 #451753
analogous
#435317 #255317 #175327
triadic
#255317 #172553 #531725
tetradic
#255317 #174353 #451753 #532717
square
#255317 #174353 #451753 #532717
split-complementary
#255317 #271753 #531743
monochromatic
#0B1807 #10230A #255317 #3A8324 #50B332

Accessibility & contrast

On white

9.02
#255317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#255317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255317
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255317#FFFFFF#000000##FFFFFF
##2553171.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#50471C
Tritanopia (blue-blind)
#215047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #255317;
/* rgb */ color: rgb(37, 83, 23);
/* oklch */ color: oklch(39.5% 0.103 139.2);
Tailwind
colors: {
  custom: {
    50: '#658457',
    500: '#255317',
    950: '#000000',
  },
}
SCSS
$custom: #255317;
$custom-light: #658457;
$custom-dark: #000000;
JSON
{
  "hex": "#255317",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 106,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.10314,
    "h": 139.2
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#255317
secondary
#783C8A
accent
#48E0BC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255317

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

Preview Lab → · Contrast checker → · Palette generator →

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