#125327#125327

#125327 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.097 H 149.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#125327
RGBrgb(18, 83, 39)
HSLhsl(139, 64%, 20%)
HSVhsv(139, 78%, 33%)
CMYKcmyk(78.3%, 0%, 53%, 67.5%)
CIE-LABlab(30.55, -31.05, 20.05)
CIE-LCHlch(30.55, 36.96, 147.15°)
OKLaboklab(39.08% -0.0835 0.0488)
OKLCHoklch(39.08% 0.097 149.7)
XYZxyz(3.7086, 6.4612, 2.9707)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125327 #53123E
analogous
#1D5312 #125327 #125348
triadic
#125327 #271253 #532712
tetradic
#125327 #121D53 #53123E #534812
square
#125327 #121D53 #53123E #534812
split-complementary
#125327 #481253 #53121D
monochromatic
#05190C #07210F #125327 #1D853F #28B856

Accessibility & contrast

On white

9.16
#125327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#125327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125327
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125327#FFFFFF#000000##FFFFFF
##1253271.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B23
Deuteranopia (green-blind)
#4C462A
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125327;
/* rgb */ color: rgb(18, 83, 39);
/* oklch */ color: oklch(39.1% 0.097 149.7);
Tailwind
colors: {
  custom: {
    50: '#5b8462',
    500: '#125327',
    950: '#000000',
  },
}
SCSS
$custom: #125327;
$custom-light: #5b8462;
$custom-dark: #000000;
JSON
{
  "hex": "#125327",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 39
  },
  "hsl": {
    "h": 139.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39081,
    "c": 0.09675,
    "h": 149.7
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#125327
secondary
#8C3570
accent
#40B1E7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125327

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

Preview Lab → · Contrast checker → · Palette generator →

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