#125734#125734

#125734 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.089 H 156.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#125734
RGBrgb(18, 87, 52)
HSLhsl(150, 66%, 21%)
HSVhsv(150, 79%, 34%)
CMYKcmyk(79.3%, 0%, 40.2%, 65.9%)
CIE-LABlab(32.24, -30.09, 14.48)
CIE-LCHlch(32.24, 33.40, 154.30°)
OKLaboklab(40.56% -0.0813 0.0363)
OKLCHoklch(40.56% 0.089 156)
XYZxyz(4.2771, 7.1924, 4.4110)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125734 #571235
analogous
#135712 #125734 #125756
triadic
#125734 #341257 #573412
tetradic
#125734 #121357 #571235 #575612
square
#125734 #121357 #571235 #575612
split-complementary
#125734 #561257 #571213
monochromatic
#05190F #082416 #125734 #1C8A52 #27BC71

Accessibility & contrast

On white

8.61
#125734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#125734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125734
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125734#FFFFFF#000000##FFFFFF
##1257341.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F32
Deuteranopia (green-blind)
#4E4936
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125734;
/* rgb */ color: rgb(18, 87, 52);
/* oklch */ color: oklch(40.6% 0.089 156.0);
Tailwind
colors: {
  custom: {
    50: '#5c876b',
    500: '#125734',
    950: '#000000',
  },
}
SCSS
$custom: #125734;
$custom-light: #5c876b;
$custom-dark: #000000;
JSON
{
  "hex": "#125734",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 52
  },
  "hsl": {
    "h": 149.565,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.08904,
    "h": 156
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#125734
secondary
#903563
accent
#3F95E9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125734

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

Preview Lab → · Contrast checker → · Palette generator →

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