#125319#125319

#125319 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.110 H 144.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#125319
RGBrgb(18, 83, 25)
HSLhsl(126, 64%, 20%)
HSVhsv(126, 78%, 33%)
CMYKcmyk(78.3%, 0%, 69.9%, 67.5%)
CIE-LABlab(30.36, -33.21, 27.46)
CIE-LCHlch(30.36, 43.10, 140.41°)
OKLaboklab(38.87% -0.0898 0.0639)
OKLCHoklch(38.87% 0.11 144.6)
XYZxyz(3.5179, 6.3849, 1.9665)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125319 #53124C
analogous
#2B5312 #125319 #12533A
triadic
#125319 #191253 #531912
tetradic
#125319 #122B53 #53124C #533A12
square
#125319 #122B53 #53124C #533A12
split-complementary
#125319 #3A1253 #53122B
monochromatic
#051908 #07210A #125319 #1D8528 #28B837

Accessibility & contrast

On white

9.22
#125319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#125319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125319
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125319#FFFFFF#000000##FFFFFF
##1253191.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B12
Deuteranopia (green-blind)
#4D451E
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125319;
/* rgb */ color: rgb(18, 83, 25);
/* oklch */ color: oklch(38.9% 0.110 144.6);
Tailwind
colors: {
  custom: {
    50: '#5c8458',
    500: '#125319',
    950: '#000000',
  },
}
SCSS
$custom: #125319;
$custom-light: #5c8458;
$custom-dark: #000000;
JSON
{
  "hex": "#125319",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 25
  },
  "hsl": {
    "h": 126.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38869,
    "c": 0.11019,
    "h": 144.6
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#125319
secondary
#8C3582
accent
#40D5E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #125319

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

Preview Lab → · Contrast checker → · Palette generator →

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