#255312#255312

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

Color values

HEX#255312
RGBrgb(37, 83, 18)
HSLhsl(102, 64%, 20%)
HSVhsv(102, 78%, 33%)
CMYKcmyk(55.4%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.93, -28.89, 31.51)
CIE-LCHlch(30.93, 42.75, 132.51°)
OKLaboklab(39.5% -0.0798 0.0713)
OKLCHoklch(39.5% 0.107 138.2)
XYZxyz(3.9652, 6.6232, 1.6416)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255312 #401253
analogous
#455312 #255312 #125320
triadic
#255312 #122553 #531225
tetradic
#255312 #124553 #401253 #532012
square
#255312 #124553 #401253 #532012
split-complementary
#255312 #201253 #531245
monochromatic
#0B1905 #0F2107 #255312 #3B851D #52B828

Accessibility & contrast

On white

9.03
#255312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255312
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255312#FFFFFF#000000##FFFFFF
##2553121.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255312;
/* rgb */ color: rgb(37, 83, 18);
/* oklch */ color: oklch(39.5% 0.107 138.2);
Tailwind
colors: {
  custom: {
    50: '#658455',
    500: '#255312',
    950: '#000000',
  },
}
SCSS
$custom: #255312;
$custom-light: #658455;
$custom-dark: #000000;
JSON
{
  "hex": "#255312",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 102.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.10697,
    "h": 138.2
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#255312
secondary
#72358C
accent
#40E7B7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255312

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

Preview Lab → · Contrast checker → · Palette generator →

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