#125834#125834

#125834 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.091 H 155.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#125834
RGBrgb(18, 88, 52)
HSLhsl(149, 66%, 21%)
HSVhsv(149, 80%, 35%)
CMYKcmyk(79.5%, 0%, 40.9%, 65.5%)
CIE-LABlab(32.60, -30.53, 14.97)
CIE-LCHlch(32.60, 34.00, 153.88°)
OKLaboklab(40.85% -0.0824 0.0374)
OKLCHoklch(40.85% 0.091 155.6)
XYZxyz(4.3586, 7.3555, 4.4382)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125834 #581236
analogous
#135812 #125834 #125857
triadic
#125834 #341258 #583412
tetradic
#125834 #121358 #581236 #585712
square
#125834 #121358 #581236 #585712
split-complementary
#125834 #571258 #581213
monochromatic
#05190F #082516 #125834 #1C8B52 #27BE70

Accessibility & contrast

On white

8.50
#125834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#125834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125834
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125834#FFFFFF#000000##FFFFFF
##1258341.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585032
Deuteranopia (green-blind)
#4F4A36
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125834;
/* rgb */ color: rgb(18, 88, 52);
/* oklch */ color: oklch(40.9% 0.091 155.6);
Tailwind
colors: {
  custom: {
    50: '#5c886b',
    500: '#125834',
    950: '#000000',
  },
}
SCSS
$custom: #125834;
$custom-light: #5c886b;
$custom-dark: #000000;
JSON
{
  "hex": "#125834",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 52
  },
  "hsl": {
    "h": 149.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.09054,
    "h": 155.6
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#125834
secondary
#913564
accent
#3F96E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #125834

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

Preview Lab → · Contrast checker → · Palette generator →

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