#125423#125423

#125423 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.102 H 147.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#125423
RGBrgb(18, 84, 35)
HSLhsl(135, 65%, 20%)
HSVhsv(135, 79%, 33%)
CMYKcmyk(78.6%, 0%, 58.3%, 67.1%)
CIE-LABlab(30.86, -32.16, 22.71)
CIE-LCHlch(30.86, 39.37, 144.77°)
OKLaboklab(39.32% -0.0866 0.0545)
OKLCHoklch(39.32% 0.102 147.8)
XYZxyz(3.7229, 6.5902, 2.6656)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125423 #541243
analogous
#225412 #125423 #125444
triadic
#125423 #231254 #542312
tetradic
#125423 #122254 #541243 #544412
square
#125423 #122254 #541243 #544412
split-complementary
#125423 #441254 #541222
monochromatic
#05190B #07220E #125423 #1D8638 #28B94D

Accessibility & contrast

On white

9.06
#125423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#125423 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125423
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125423#FFFFFF#000000##FFFFFF
##1254231.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1F
Deuteranopia (green-blind)
#4D4627
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125423;
/* rgb */ color: rgb(18, 84, 35);
/* oklch */ color: oklch(39.3% 0.102 147.8);
Tailwind
colors: {
  custom: {
    50: '#5b855f',
    500: '#125423',
    950: '#000000',
  },
}
SCSS
$custom: #125423;
$custom-light: #5b855f;
$custom-dark: #000000;
JSON
{
  "hex": "#125423",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 35
  },
  "hsl": {
    "h": 135.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39316,
    "c": 0.10231,
    "h": 147.8
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#125423
secondary
#8D3576
accent
#40BDE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #125423

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

Preview Lab → · Contrast checker → · Palette generator →

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