#125A2A#125A2A

#125A2A is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.104 H 149.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#125A2A
RGBrgb(18, 90, 42)
HSLhsl(140, 67%, 21%)
HSVhsv(140, 80%, 35%)
CMYKcmyk(80%, 0%, 53.3%, 64.7%)
CIE-LABlab(33.15, -33.38, 21.58)
CIE-LCHlch(33.15, 39.75, 147.12°)
OKLaboklab(41.25% -0.0897 0.0524)
OKLCHoklch(41.25% 0.104 149.7)
XYZxyz(4.3232, 7.6076, 3.4306)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A2A #5A1242
analogous
#1E5A12 #125A2A #125A4E
triadic
#125A2A #2A125A #5A2A12
tetradic
#125A2A #121E5A #5A1242 #5A4E12
square
#125A2A #121E5A #5A1242 #5A4E12
split-complementary
#125A2A #4E125A #5A121E
monochromatic
#051A0C #082712 #125A2A #1C8D42 #26C05A

Accessibility & contrast

On white

8.33
#125A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#125A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A2A
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A2A#FFFFFF#000000##FFFFFF
##125A2A1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5226
Deuteranopia (green-blind)
#524C2D
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a2a;
/* rgb */ color: rgb(18, 90, 42);
/* oklch */ color: oklch(41.3% 0.104 149.7);
Tailwind
colors: {
  custom: {
    50: '#5d8964',
    500: '#125a2a',
    950: '#000000',
  },
}
SCSS
$custom: #125a2a;
$custom-light: #5d8964;
$custom-dark: #000000;
JSON
{
  "hex": "#125a2a",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 42
  },
  "hsl": {
    "h": 140,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.10394,
    "h": 149.7
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#125A2A
secondary
#933573
accent
#3EB0EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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