#125123#125123

#125123 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.098 H 148.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#125123
RGBrgb(18, 81, 35)
HSLhsl(136, 64%, 19%)
HSVhsv(136, 78%, 32%)
CMYKcmyk(77.8%, 0%, 56.8%, 68.2%)
CIE-LABlab(29.75, -30.93, 21.36)
CIE-LCHlch(29.75, 37.59, 145.37°)
OKLaboklab(38.4% -0.0833 0.0515)
OKLCHoklch(38.4% 0.098 148.3)
XYZxyz(3.4950, 6.1344, 2.5897)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125123 #511240
analogous
#215112 #125123 #125143
triadic
#125123 #231251 #512312
tetradic
#125123 #122151 #511240 #514312
square
#125123 #122151 #511240 #514312
split-complementary
#125123 #431251 #511221
monochromatic
#06190B #071F0D #125123 #1D8339 #28B54E

Accessibility & contrast

On white

9.43
#125123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125123
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125123#FFFFFF#000000##FFFFFF
##1251231.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491F
Deuteranopia (green-blind)
#4A4426
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125123;
/* rgb */ color: rgb(18, 81, 35);
/* oklch */ color: oklch(38.4% 0.098 148.3);
Tailwind
colors: {
  custom: {
    50: '#5b825f',
    500: '#125123',
    950: '#000000',
  },
}
SCSS
$custom: #125123;
$custom-light: #5b825f;
$custom-dark: #000000;
JSON
{
  "hex": "#125123",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 35
  },
  "hsl": {
    "h": 136.19,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38401,
    "c": 0.09792,
    "h": 148.3
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#125123
secondary
#8A3573
accent
#41BAE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #125123

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

Preview Lab → · Contrast checker → · Palette generator →

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