#125A30#125A30

#125A30 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.098 H 152.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#125A30
RGBrgb(18, 90, 48)
HSLhsl(145, 67%, 21%)
HSVhsv(145, 80%, 35%)
CMYKcmyk(80%, 0%, 46.7%, 64.7%)
CIE-LABlab(33.25, -32.23, 18.21)
CIE-LCHlch(33.25, 37.02, 150.53°)
OKLaboklab(41.37% -0.0868 0.045)
OKLCHoklch(41.37% 0.098 152.6)
XYZxyz(4.4387, 7.6538, 4.0391)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A30 #5A123C
analogous
#185A12 #125A30 #125A54
triadic
#125A30 #30125A #5A3012
tetradic
#125A30 #12185A #5A123C #5A5412
square
#125A30 #12185A #5A123C #5A5412
split-complementary
#125A30 #54125A #5A1218
monochromatic
#051A0E #082715 #125A30 #1C8D4B #26C066

Accessibility & contrast

On white

8.30
#125A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#125A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A30
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A30#FFFFFF#000000##FFFFFF
##125A301.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522D
Deuteranopia (green-blind)
#524C33
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a30;
/* rgb */ color: rgb(18, 90, 48);
/* oklch */ color: oklch(41.4% 0.098 152.6);
Tailwind
colors: {
  custom: {
    50: '#5d8969',
    500: '#125a30',
    950: '#000000',
  },
}
SCSS
$custom: #125a30;
$custom-light: #5d8969;
$custom-dark: #000000;
JSON
{
  "hex": "#125a30",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 48
  },
  "hsl": {
    "h": 145,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.09773,
    "h": 152.6
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#125A30
secondary
#93356C
accent
#3EA2EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125A30

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

Preview Lab → · Contrast checker → · Palette generator →

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