#125313#125313

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

Color values

HEX#125313
RGBrgb(18, 83, 19)
HSLhsl(121, 64%, 20%)
HSVhsv(121, 78%, 33%)
CMYKcmyk(78.3%, 0%, 77.1%, 67.5%)
CIE-LABlab(30.31, -33.89, 30.23)
CIE-LCHlch(30.31, 45.41, 138.26°)
OKLaboklab(38.81% -0.0919 0.0689)
OKLCHoklch(38.81% 0.115 143.1)
XYZxyz(3.4600, 6.3617, 1.6616)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125313 #531252
analogous
#325312 #125313 #125334
triadic
#125313 #131253 #531312
tetradic
#125313 #123253 #531252 #533412
square
#125313 #123253 #531252 #533412
split-complementary
#125313 #341253 #531232
monochromatic
#051906 #072107 #125313 #1D851F #28B82A

Accessibility & contrast

On white

9.24
#125313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125313
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125313#FFFFFF#000000##FFFFFF
##1253131.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125313;
/* rgb */ color: rgb(18, 83, 19);
/* oklch */ color: oklch(38.8% 0.115 143.1);
Tailwind
colors: {
  custom: {
    50: '#5c8455',
    500: '#125313',
    950: '#000000',
  },
}
SCSS
$custom: #125313;
$custom-light: #5c8455;
$custom-dark: #000000;
JSON
{
  "hex": "#125313",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 120.923,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.11492,
    "h": 143.1
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#125313
secondary
#8C358A
accent
#40E5E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125313

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

Preview Lab → · Contrast checker → · Palette generator →

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