#125E33#125E33

#125E33 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.100 H 153.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#125E33
RGBrgb(18, 94, 51)
HSLhsl(146, 68%, 22%)
HSVhsv(146, 81%, 37%)
CMYKcmyk(80.9%, 0%, 45.7%, 63.1%)
CIE-LABlab(34.75, -33.29, 18.39)
CIE-LCHlch(34.75, 38.03, 151.09°)
OKLaboklab(42.62% -0.0896 0.0455)
OKLCHoklch(42.62% 0.1 153.1)
XYZxyz(4.8493, 8.3724, 4.4918)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E33 #5E123D
analogous
#175E12 #125E33 #125E59
triadic
#125E33 #33125E #5E3312
tetradic
#125E33 #12175E #5E123D #5E5912
square
#125E33 #12175E #5E123D #5E5912
split-complementary
#125E33 #59125E #5E1217
monochromatic
#051A0E #082B17 #125E33 #1C914F #26C56B

Accessibility & contrast

On white

7.85
#125E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#125E33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E33
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E33#FFFFFF#000000##FFFFFF
##125E331.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5630
Deuteranopia (green-blind)
#554F36
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e33;
/* rgb */ color: rgb(18, 94, 51);
/* oklch */ color: oklch(42.6% 0.100 153.1);
Tailwind
colors: {
  custom: {
    50: '#5e8c6b',
    500: '#125e33',
    950: '#000000',
  },
}
SCSS
$custom: #125e33;
$custom-light: #5e8c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#125e33",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 51
  },
  "hsl": {
    "h": 146.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.10049,
    "h": 153.1
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#125E33
secondary
#96356C
accent
#3D9FEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125E33

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

Preview Lab → · Contrast checker → · Palette generator →

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