#125923#125923

#125923 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.109 H 147.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#125923
RGBrgb(18, 89, 35)
HSLhsl(134, 66%, 21%)
HSVhsv(134, 80%, 35%)
CMYKcmyk(79.8%, 0%, 60.7%, 65.1%)
CIE-LABlab(32.69, -34.15, 24.91)
CIE-LCHlch(32.69, 42.27, 143.89°)
OKLaboklab(40.83% -0.0919 0.0594)
OKLCHoklch(40.83% 0.109 147.2)
XYZxyz(4.1249, 7.3942, 2.7996)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125923 #591248
analogous
#245912 #125923 #125946
triadic
#125923 #231259 #592312
tetradic
#125923 #122459 #591248 #594612
square
#125923 #122459 #591248 #594612
split-complementary
#125923 #461259 #591224
monochromatic
#05190A #08260F #125923 #1C8C37 #27BF4B

Accessibility & contrast

On white

8.47
#125923 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#125923 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125923
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125923#FFFFFF#000000##FFFFFF
##1259231.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501E
Deuteranopia (green-blind)
#524B27
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125923;
/* rgb */ color: rgb(18, 89, 35);
/* oklch */ color: oklch(40.8% 0.109 147.2);
Tailwind
colors: {
  custom: {
    50: '#5d895f',
    500: '#125923',
    950: '#000000',
  },
}
SCSS
$custom: #125923;
$custom-light: #5d895f;
$custom-dark: #000000;
JSON
{
  "hex": "#125923",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 35
  },
  "hsl": {
    "h": 134.366,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40834,
    "c": 0.10945,
    "h": 147.2
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#125923
secondary
#92357B
accent
#3FC0E9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B05
muted
#797C79

Preview Lab

Preview with #125923

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

Preview Lab → · Contrast checker → · Palette generator →

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