#125310#125310

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

Color values

HEX#125310
RGBrgb(18, 83, 16)
HSLhsl(118, 68%, 19%)
HSVhsv(118, 81%, 33%)
CMYKcmyk(78.3%, 0%, 80.7%, 67.5%)
CIE-LABlab(30.28, -34.17, 31.48)
CIE-LCHlch(30.28, 46.47, 137.35°)
OKLaboklab(38.78% -0.0929 0.0711)
OKLCHoklch(38.78% 0.117 142.6)
XYZxyz(3.4360, 6.3521, 1.5351)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125310 #511053
analogous
#345310 #125310 #105330
triadic
#125310 #101253 #531012
tetradic
#125310 #103453 #511053 #533010
square
#125310 #103453 #511053 #533010
split-complementary
#125310 #301053 #531034
monochromatic
#061A05 #072006 #125310 #1D861A #28BA24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125310#FFFFFF#000000##FFFFFF
##1253101.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)
#554A04
Deuteranopia (green-blind)
#4E4517
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125310;
/* rgb */ color: rgb(18, 83, 16);
/* oklch */ color: oklch(38.8% 0.117 142.6);
Tailwind
colors: {
  custom: {
    50: '#5c8453',
    500: '#125310',
    950: '#000000',
  },
}
SCSS
$custom: #125310;
$custom-light: #5c8453;
$custom-dark: #000000;
JSON
{
  "hex": "#125310",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 118.209,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38778,
    "c": 0.11697,
    "h": 142.6
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#125310
secondary
#8A328D
accent
#3DEBE5
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #125310

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

Preview Lab → · Contrast checker → · Palette generator →

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