#125823#125823

#125823 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.108 H 147.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#125823
RGBrgb(18, 88, 35)
HSLhsl(135, 66%, 21%)
HSVhsv(135, 80%, 35%)
CMYKcmyk(79.5%, 0%, 60.2%, 65.5%)
CIE-LABlab(32.32, -33.76, 24.48)
CIE-LCHlch(32.32, 41.70, 144.05°)
OKLaboklab(40.53% -0.0909 0.0584)
OKLCHoklch(40.53% 0.108 147.3)
XYZxyz(4.0422, 7.2289, 2.7721)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125823 #581247
analogous
#245812 #125823 #125846
triadic
#125823 #231258 #582312
tetradic
#125823 #122458 #581247 #584612
square
#125823 #122458 #581247 #584612
split-complementary
#125823 #461258 #581224
monochromatic
#05190A #08250F #125823 #1C8B37 #27BE4B

Accessibility & contrast

On white

8.59
#125823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#125823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125823
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125823#FFFFFF#000000##FFFFFF
##1258231.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1E
Deuteranopia (green-blind)
#514A27
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125823;
/* rgb */ color: rgb(18, 88, 35);
/* oklch */ color: oklch(40.5% 0.108 147.3);
Tailwind
colors: {
  custom: {
    50: '#5c885f',
    500: '#125823',
    950: '#000000',
  },
}
SCSS
$custom: #125823;
$custom-light: #5c885f;
$custom-dark: #000000;
JSON
{
  "hex": "#125823",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 35
  },
  "hsl": {
    "h": 134.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40531,
    "c": 0.10803,
    "h": 147.3
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#125823
secondary
#91357A
accent
#3FC0E9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B05
muted
#797C79

Preview Lab

Preview with #125823

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

Preview Lab → · Contrast checker → · Palette generator →

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