#125117#125117

#125117 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.2% C 0.109 H 144.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#125117
RGBrgb(18, 81, 23)
HSLhsl(125, 64%, 19%)
HSVhsv(125, 78%, 32%)
CMYKcmyk(77.8%, 0%, 71.6%, 68.2%)
CIE-LABlab(29.60, -32.68, 27.61)
CIE-LCHlch(29.60, 42.78, 139.81°)
OKLaboklab(38.23% -0.0884 0.064)
OKLCHoklch(38.23% 0.109 144.1)
XYZxyz(3.3463, 6.0749, 1.8067)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125117 #51124C
analogous
#2D5112 #125117 #125137
triadic
#125117 #171251 #511712
tetradic
#125117 #122D51 #51124C #513712
square
#125117 #122D51 #51124C #513712
split-complementary
#125117 #371251 #51122D
monochromatic
#061907 #071F09 #125117 #1D8325 #28B533

Accessibility & contrast

On white

9.48
#125117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#125117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125117
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125117#FFFFFF#000000##FFFFFF
##1251171.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#4B441C
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125117;
/* rgb */ color: rgb(18, 81, 23);
/* oklch */ color: oklch(38.2% 0.109 144.1);
Tailwind
colors: {
  custom: {
    50: '#5b8357',
    500: '#125117',
    950: '#000000',
  },
}
SCSS
$custom: #125117;
$custom-light: #5b8357;
$custom-dark: #000000;
JSON
{
  "hex": "#125117",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 124.762,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3823,
    "c": 0.10915,
    "h": 144.1
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#125117
secondary
#8A3583
accent
#41DAE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #125117

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

Preview Lab → · Contrast checker → · Palette generator →

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