#125F30#125F30

#125F30 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.105 H 151.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#125F30
RGBrgb(18, 95, 48)
HSLhsl(143, 68%, 22%)
HSVhsv(143, 81%, 37%)
CMYKcmyk(81.1%, 0%, 49.5%, 62.7%)
CIE-LABlab(35.05, -34.29, 20.53)
CIE-LCHlch(35.05, 39.97, 149.09°)
OKLaboklab(42.86% -0.0922 0.0503)
OKLCHoklch(42.86% 0.105 151.4)
XYZxyz(4.8747, 8.5258, 4.1845)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F30 #5F1241
analogous
#1A5F12 #125F30 #125F57
triadic
#125F30 #30125F #5F3012
tetradic
#125F30 #121A5F #5F1241 #5F5712
square
#125F30 #121A5F #5F1241 #5F5712
split-complementary
#125F30 #57125F #5F121A
monochromatic
#051A0D #082C16 #125F30 #1C924A #25C664

Accessibility & contrast

On white

7.76
#125F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125F30
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F30#FFFFFF#000000##FFFFFF
##125F301.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562C
Deuteranopia (green-blind)
#565033
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f30;
/* rgb */ color: rgb(18, 95, 48);
/* oklch */ color: oklch(42.9% 0.105 151.4);
Tailwind
colors: {
  custom: {
    50: '#5e8d69',
    500: '#125f30',
    950: '#000000',
  },
}
SCSS
$custom: #125f30;
$custom-light: #5e8d69;
$custom-dark: #000000;
JSON
{
  "hex": "#125f30",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 48
  },
  "hsl": {
    "h": 143.377,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.10504,
    "h": 151.4
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#125F30
secondary
#973671
accent
#3DA7EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125F30

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

Preview Lab → · Contrast checker → · Palette generator →

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