#125328#125328

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

Color values

HEX#125328
RGBrgb(18, 83, 40)
HSLhsl(140, 64%, 20%)
HSVhsv(140, 78%, 33%)
CMYKcmyk(78.3%, 0%, 51.8%, 67.5%)
CIE-LABlab(30.56, -30.86, 19.48)
CIE-LCHlch(30.56, 36.50, 147.74°)
OKLaboklab(39.1% -0.083 0.0476)
OKLCHoklch(39.1% 0.096 150.2)
XYZxyz(3.7254, 6.4679, 3.0592)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125328 #53123D
analogous
#1C5312 #125328 #125349
triadic
#125328 #281253 #532812
tetradic
#125328 #121C53 #53123D #534912
square
#125328 #121C53 #53123D #534912
split-complementary
#125328 #491253 #53121C
monochromatic
#05190C #072110 #125328 #1D8540 #28B858

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125328#FFFFFF#000000##FFFFFF
##1253281.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)
#544B25
Deuteranopia (green-blind)
#4C462B
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125328;
/* rgb */ color: rgb(18, 83, 40);
/* oklch */ color: oklch(39.1% 0.096 150.2);
Tailwind
colors: {
  custom: {
    50: '#5b8462',
    500: '#125328',
    950: '#000000',
  },
}
SCSS
$custom: #125328;
$custom-light: #5b8462;
$custom-dark: #000000;
JSON
{
  "hex": "#125328",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 40
  },
  "hsl": {
    "h": 140.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.391,
    "c": 0.0957,
    "h": 150.2
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#125328
secondary
#8C356E
accent
#40AFE7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125328

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

Preview Lab → · Contrast checker → · Palette generator →

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