#125326#125326

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

Color values

HEX#125326
RGBrgb(18, 83, 38)
HSLhsl(138, 64%, 20%)
HSVhsv(138, 78%, 33%)
CMYKcmyk(78.3%, 0%, 54.2%, 67.5%)
CIE-LABlab(30.53, -31.23, 20.61)
CIE-LCHlch(30.53, 37.41, 146.58°)
OKLaboklab(39.06% -0.084 0.05)
OKLCHoklch(39.06% 0.098 149.2)
XYZxyz(3.6923, 6.4546, 2.8846)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125326 #53123F
analogous
#1E5312 #125326 #125347
triadic
#125326 #261253 #532612
tetradic
#125326 #121E53 #53123F #534712
square
#125326 #121E53 #53123F #534712
split-complementary
#125326 #471253 #53121E
monochromatic
#05190C #07210F #125326 #1D853D #28B854

Accessibility & contrast

On white

9.17
#125326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125326
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125326#FFFFFF#000000##FFFFFF
##1253261.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125326;
/* rgb */ color: rgb(18, 83, 38);
/* oklch */ color: oklch(39.1% 0.098 149.2);
Tailwind
colors: {
  custom: {
    50: '#5b8461',
    500: '#125326',
    950: '#000000',
  },
}
SCSS
$custom: #125326;
$custom-light: #5b8461;
$custom-dark: #000000;
JSON
{
  "hex": "#125326",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 38
  },
  "hsl": {
    "h": 138.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39063,
    "c": 0.09779,
    "h": 149.2
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#125326
secondary
#8C3571
accent
#40B4E7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125326

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

Preview Lab → · Contrast checker → · Palette generator →

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