#125316#125316

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

Color values

HEX#125316
RGBrgb(18, 83, 22)
HSLhsl(124, 64%, 20%)
HSVhsv(124, 78%, 33%)
CMYKcmyk(78.3%, 0%, 73.5%, 67.5%)
CIE-LABlab(30.33, -33.57, 28.89)
CIE-LCHlch(30.33, 44.29, 139.29°)
OKLaboklab(38.83% -0.0909 0.0665)
OKLCHoklch(38.83% 0.113 143.8)
XYZxyz(3.4873, 6.3726, 1.8052)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125316 #53124F
analogous
#2F5312 #125316 #125336
triadic
#125316 #161253 #531612
tetradic
#125316 #122F53 #53124F #533612
square
#125316 #122F53 #53124F #533612
split-complementary
#125316 #361253 #53122F
monochromatic
#051907 #072109 #125316 #1D8523 #28B831

Accessibility & contrast

On white

9.23
#125316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125316
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125316#FFFFFF#000000##FFFFFF
##1253161.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0E
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125316;
/* rgb */ color: rgb(18, 83, 22);
/* oklch */ color: oklch(38.8% 0.113 143.8);
Tailwind
colors: {
  custom: {
    50: '#5c8457',
    500: '#125316',
    950: '#000000',
  },
}
SCSS
$custom: #125316;
$custom-light: #5c8457;
$custom-dark: #000000;
JSON
{
  "hex": "#125316",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 123.692,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.11266,
    "h": 143.8
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#125316
secondary
#8C3586
accent
#40DDE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125316

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

Preview Lab → · Contrast checker → · Palette generator →

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