#125030#125030

#125030 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.083 H 156.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#125030
RGBrgb(18, 80, 48)
HSLhsl(149, 63%, 19%)
HSVhsv(149, 78%, 31%)
CMYKcmyk(77.5%, 0%, 40%, 68.6%)
CIE-LABlab(29.61, -27.89, 13.41)
CIE-LCHlch(29.61, 30.95, 154.31°)
OKLaboklab(38.36% -0.0754 0.0336)
OKLCHoklch(38.36% 0.083 156)
XYZxyz(3.6513, 6.0789, 3.7766)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125030 #501232
analogous
#135012 #125030 #12504F
triadic
#125030 #301250 #503012
tetradic
#125030 #121350 #501232 #504F12
square
#125030 #121350 #501232 #504F12
split-complementary
#125030 #4F1250 #501213
monochromatic
#06190F #071E12 #125030 #1D824E #28B46C

Accessibility & contrast

On white

9.48
#125030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#125030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125030
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125030#FFFFFF#000000##FFFFFF
##1250301.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492E
Deuteranopia (green-blind)
#484432
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125030;
/* rgb */ color: rgb(18, 80, 48);
/* oklch */ color: oklch(38.4% 0.083 156.0);
Tailwind
colors: {
  custom: {
    50: '#5a8268',
    500: '#125030',
    950: '#000000',
  },
}
SCSS
$custom: #125030;
$custom-light: #5a8268;
$custom-dark: #000000;
JSON
{
  "hex": "#125030",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 48
  },
  "hsl": {
    "h": 149.032,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38362,
    "c": 0.0826,
    "h": 156
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#125030
secondary
#893560
accent
#4197E6
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #125030

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

Preview Lab → · Contrast checker → · Palette generator →

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