#125314#125314

#125314 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.114 H 143.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#125314
RGBrgb(18, 83, 20)
HSLhsl(122, 64%, 20%)
HSVhsv(122, 78%, 33%)
CMYKcmyk(78.3%, 0%, 75.9%, 67.5%)
CIE-LABlab(30.32, -33.79, 29.79)
CIE-LCHlch(30.32, 45.05, 138.59°)
OKLaboklab(38.82% -0.0916 0.0682)
OKLCHoklch(38.82% 0.114 143.4)
XYZxyz(3.4688, 6.3652, 1.7075)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125314 #531251
analogous
#315312 #125314 #125335
triadic
#125314 #141253 #531412
tetradic
#125314 #123153 #531251 #533512
square
#125314 #123153 #531251 #533512
split-complementary
#125314 #351253 #531231
monochromatic
#051906 #072108 #125314 #1D8520 #28B82C

Accessibility & contrast

On white

9.24
#125314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#125314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125314
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125314#FFFFFF#000000##FFFFFF
##1253141.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0A
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125314;
/* rgb */ color: rgb(18, 83, 20);
/* oklch */ color: oklch(38.8% 0.114 143.4);
Tailwind
colors: {
  custom: {
    50: '#5c8455',
    500: '#125314',
    950: '#000000',
  },
}
SCSS
$custom: #125314;
$custom-light: #5c8455;
$custom-dark: #000000;
JSON
{
  "hex": "#125314",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 121.846,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38815,
    "c": 0.11419,
    "h": 143.4
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#125314
secondary
#8C3589
accent
#40E2E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125314

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

Preview Lab → · Contrast checker → · Palette generator →

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