#125126#125126

#125126 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.095 H 149.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#125126
RGBrgb(18, 81, 38)
HSLhsl(139, 64%, 19%)
HSVhsv(139, 78%, 32%)
CMYKcmyk(77.8%, 0%, 53.1%, 68.2%)
CIE-LABlab(29.80, -30.39, 19.68)
CIE-LCHlch(29.80, 36.21, 147.07°)
OKLaboklab(38.45% -0.0818 0.0479)
OKLCHoklch(38.45% 0.095 149.6)
XYZxyz(3.5415, 6.1530, 2.8344)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125126 #51123D
analogous
#1E5112 #125126 #125146
triadic
#125126 #261251 #512612
tetradic
#125126 #121E51 #51123D #514612
square
#125126 #121E51 #51123D #514612
split-complementary
#125126 #461251 #51121E
monochromatic
#06190C #071F0F #125126 #1D833D #28B555

Accessibility & contrast

On white

9.41
#125126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#125126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125126
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125126#FFFFFF#000000##FFFFFF
##1251261.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524923
Deuteranopia (green-blind)
#4A4429
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125126;
/* rgb */ color: rgb(18, 81, 38);
/* oklch */ color: oklch(38.5% 0.095 149.6);
Tailwind
colors: {
  custom: {
    50: '#5a8261',
    500: '#125126',
    950: '#000000',
  },
}
SCSS
$custom: #125126;
$custom-light: #5a8261;
$custom-dark: #000000;
JSON
{
  "hex": "#125126",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 38
  },
  "hsl": {
    "h": 139.048,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38454,
    "c": 0.09481,
    "h": 149.6
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#125126
secondary
#8A356F
accent
#41B2E7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #125126

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

Preview Lab → · Contrast checker → · Palette generator →

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