#125832#125832

#125832 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.093 H 154.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#125832
RGBrgb(18, 88, 50)
HSLhsl(147, 66%, 21%)
HSVhsv(147, 80%, 35%)
CMYKcmyk(79.5%, 0%, 43.2%, 65.5%)
CIE-LABlab(32.56, -30.97, 16.12)
CIE-LCHlch(32.56, 34.91, 152.50°)
OKLaboklab(40.81% -0.0835 0.0401)
OKLCHoklch(40.81% 0.093 154.3)
XYZxyz(4.3145, 7.3378, 4.2060)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125832 #581238
analogous
#155812 #125832 #125855
triadic
#125832 #321258 #583212
tetradic
#125832 #121558 #581238 #585512
square
#125832 #121558 #581238 #585512
split-complementary
#125832 #551258 #581215
monochromatic
#05190E #082515 #125832 #1C8B4F #27BE6C

Accessibility & contrast

On white

8.51
#125832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#125832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125832
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125832#FFFFFF#000000##FFFFFF
##1258321.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502F
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125832;
/* rgb */ color: rgb(18, 88, 50);
/* oklch */ color: oklch(40.8% 0.093 154.3);
Tailwind
colors: {
  custom: {
    50: '#5c886a',
    500: '#125832',
    950: '#000000',
  },
}
SCSS
$custom: #125832;
$custom-light: #5c886a;
$custom-dark: #000000;
JSON
{
  "hex": "#125832",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 50
  },
  "hsl": {
    "h": 147.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.09265,
    "h": 154.3
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#125832
secondary
#913567
accent
#3F9BE9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #125832

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

Preview Lab → · Contrast checker → · Palette generator →

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