#125E21#125E21

#125E21 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.118 H 146.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#125E21
RGBrgb(18, 94, 33)
HSLhsl(132, 68%, 22%)
HSVhsv(132, 81%, 37%)
CMYKcmyk(80.9%, 0%, 64.9%, 63.1%)
CIE-LABlab(34.48, -36.37, 28.07)
CIE-LCHlch(34.48, 45.95, 142.34°)
OKLaboklab(42.32% -0.098 0.066)
OKLCHoklch(42.32% 0.118 146)
XYZxyz(4.5263, 8.2433, 2.7911)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E21 #5E124F
analogous
#295E12 #125E21 #125E47
triadic
#125E21 #21125E #5E2112
tetradic
#125E21 #12295E #5E124F #5E4712
square
#125E21 #12295E #5E124F #5E4712
split-complementary
#125E21 #47125E #5E1229
monochromatic
#051A09 #082B0F #125E21 #1C9133 #26C545

Accessibility & contrast

On white

7.93
#125E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#125E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E21
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E21#FFFFFF#000000##FFFFFF
##125E211.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551A
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e21;
/* rgb */ color: rgb(18, 94, 33);
/* oklch */ color: oklch(42.3% 0.118 146.0);
Tailwind
colors: {
  custom: {
    50: '#5e8c5f',
    500: '#125e21',
    950: '#000000',
  },
}
SCSS
$custom: #125e21;
$custom-light: #5e8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#125e21",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 33
  },
  "hsl": {
    "h": 131.842,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.11818,
    "h": 146
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#125E21
secondary
#963583
accent
#3DC8EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125E21

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

Preview Lab → · Contrast checker → · Palette generator →

#125E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva