#125311#125311

#125311 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.116 H 142.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#125311
RGBrgb(18, 83, 17)
HSLhsl(119, 66%, 20%)
HSVhsv(119, 80%, 33%)
CMYKcmyk(78.3%, 0%, 79.5%, 67.5%)
CIE-LABlab(30.29, -34.08, 31.08)
CIE-LCHlch(30.29, 46.12, 137.64°)
OKLaboklab(38.79% -0.0926 0.0704)
OKLCHoklch(38.79% 0.116 142.7)
XYZxyz(3.4437, 6.3552, 1.5754)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125311 #521153
analogous
#335311 #125311 #115331
triadic
#125311 #111253 #531112
tetradic
#125311 #113353 #521153 #533111
square
#125311 #113353 #521153 #533111
split-complementary
#125311 #311153 #531133
monochromatic
#061905 #072007 #125311 #1D861B #28B926

Accessibility & contrast

On white

9.25
#125311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#125311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125311
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125311#FFFFFF#000000##FFFFFF
##1253111.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A06
Deuteranopia (green-blind)
#4E4518
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125311;
/* rgb */ color: rgb(18, 83, 17);
/* oklch */ color: oklch(38.8% 0.116 142.7);
Tailwind
colors: {
  custom: {
    50: '#5c8454',
    500: '#125311',
    950: '#000000',
  },
}
SCSS
$custom: #125311;
$custom-light: #5c8454;
$custom-dark: #000000;
JSON
{
  "hex": "#125311",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 119.091,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38787,
    "c": 0.11631,
    "h": 142.7
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#125311
secondary
#8B348C
accent
#3FE9E6
background
#F5F8F5
surface
#E9EFE8
border
#C5CAC4
text
#050B03
muted
#797C78

Preview Lab

Preview with #125311

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

Preview Lab → · Contrast checker → · Palette generator →

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