#125715#125715

#125715 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.119 H 143.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#125715
RGBrgb(18, 87, 21)
HSLhsl(123, 66%, 21%)
HSVhsv(123, 79%, 34%)
CMYKcmyk(79.3%, 0%, 75.9%, 65.9%)
CIE-LABlab(31.80, -35.19, 30.91)
CIE-LCHlch(31.80, 46.84, 138.71°)
OKLaboklab(40.05% -0.0954 0.0706)
OKLCHoklch(40.05% 0.119 143.5)
XYZxyz(3.7928, 6.9987, 1.8603)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125715 #571254
analogous
#315712 #125715 #125737
triadic
#125715 #151257 #571512
tetradic
#125715 #123157 #571254 #573712
square
#125715 #123157 #571254 #573712
split-complementary
#125715 #371257 #571231
monochromatic
#051906 #082409 #125715 #1C8A21 #27BC2D

Accessibility & contrast

On white

8.75
#125715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#125715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125715
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125715#FFFFFF#000000##FFFFFF
##1257151.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0B
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125715;
/* rgb */ color: rgb(18, 87, 21);
/* oklch */ color: oklch(40.1% 0.119 143.5);
Tailwind
colors: {
  custom: {
    50: '#5d8757',
    500: '#125715',
    950: '#000000',
  },
}
SCSS
$custom: #125715;
$custom-light: #5d8757;
$custom-dark: #000000;
JSON
{
  "hex": "#125715",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 122.609,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40052,
    "c": 0.11868,
    "h": 143.5
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#125715
secondary
#90358C
accent
#3FE1E9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125715

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

Preview Lab → · Contrast checker → · Palette generator →

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