#125F33#125F33

#125F33 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.102 H 152.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#125F33
RGBrgb(18, 95, 51)
HSLhsl(146, 68%, 22%)
HSVhsv(146, 81%, 37%)
CMYKcmyk(81.1%, 0%, 46.3%, 62.7%)
CIE-LABlab(35.11, -33.70, 18.85)
CIE-LCHlch(35.11, 38.62, 150.78°)
OKLaboklab(42.91% -0.0907 0.0466)
OKLCHoklch(42.91% 0.102 152.8)
XYZxyz(4.9388, 8.5514, 4.5216)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F33 #5F123E
analogous
#185F12 #125F33 #125F5A
triadic
#125F33 #33125F #5F3312
tetradic
#125F33 #12185F #5F123E #5F5A12
square
#125F33 #12185F #5F123E #5F5A12
split-complementary
#125F33 #5A125F #5F1218
monochromatic
#051A0E #082C17 #125F33 #1C924F #25C66A

Accessibility & contrast

On white

7.75
#125F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#125F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F33
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F33#FFFFFF#000000##FFFFFF
##125F331.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5630
Deuteranopia (green-blind)
#565036
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f33;
/* rgb */ color: rgb(18, 95, 51);
/* oklch */ color: oklch(42.9% 0.102 152.8);
Tailwind
colors: {
  custom: {
    50: '#5e8d6b',
    500: '#125f33',
    950: '#000000',
  },
}
SCSS
$custom: #125f33;
$custom-light: #5e8d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#125f33",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 51
  },
  "hsl": {
    "h": 145.714,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42914,
    "c": 0.10195,
    "h": 152.8
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#125F33
secondary
#97366D
accent
#3DA0EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125F33

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

Preview Lab → · Contrast checker → · Palette generator →

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