#125723#125723

#125723 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.2% C 0.107 H 147.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#125723
RGBrgb(18, 87, 35)
HSLhsl(135, 66%, 21%)
HSVhsv(135, 79%, 34%)
CMYKcmyk(79.3%, 0%, 59.8%, 65.9%)
CIE-LABlab(31.96, -33.36, 24.04)
CIE-LCHlch(31.96, 41.12, 144.22°)
OKLaboklab(40.23% -0.0898 0.0575)
OKLCHoklch(40.23% 0.107 147.4)
XYZxyz(3.9607, 7.0659, 2.7449)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125723 #571246
analogous
#235712 #125723 #125745
triadic
#125723 #231257 #572312
tetradic
#125723 #122357 #571246 #574512
square
#125723 #122357 #571246 #574512
split-complementary
#125723 #451257 #571223
monochromatic
#05190A #08240F #125723 #1C8A37 #27BC4C

Accessibility & contrast

On white

8.70
#125723 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#125723 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125723
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125723#FFFFFF#000000##FFFFFF
##1257231.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F1E
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125723;
/* rgb */ color: rgb(18, 87, 35);
/* oklch */ color: oklch(40.2% 0.107 147.4);
Tailwind
colors: {
  custom: {
    50: '#5c875f',
    500: '#125723',
    950: '#000000',
  },
}
SCSS
$custom: #125723;
$custom-light: #5c875f;
$custom-dark: #000000;
JSON
{
  "hex": "#125723",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 35
  },
  "hsl": {
    "h": 134.783,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.10661,
    "h": 147.4
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#125723
secondary
#903579
accent
#3FBFE9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B05
muted
#797C79

Preview Lab

Preview with #125723

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

Preview Lab → · Contrast checker → · Palette generator →

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