#124912#124912

#124912 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.102 H 143.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#124912
RGBrgb(18, 73, 18)
HSLhsl(120, 60%, 18%)
HSVhsv(120, 75%, 29%)
CMYKcmyk(75.3%, 0%, 75.3%, 71.4%)
CIE-LABlab(26.55, -30.10, 26.73)
CIE-LCHlch(26.55, 40.25, 138.39°)
OKLaboklab(35.69% -0.0817 0.0615)
OKLCHoklch(35.69% 0.102 143.1)
XYZxyz(2.7410, 4.9371, 1.3806)
Luminance0.0494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124912 #491249
analogous
#2D4912 #124912 #12492D
triadic
#124912 #121249 #491212
tetradic
#124912 #122D49 #491249 #492D12
square
#124912 #122D49 #491249 #492D12
split-complementary
#124912 #2D1249 #49122D
monochromatic
#061906 #061906 #124912 #1E7A1E #2AAB2A

Accessibility & contrast

On white

10.57
#124912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#124912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124912
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124912#FFFFFF#000000##FFFFFF
##1249121.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420A
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#05473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124912;
/* rgb */ color: rgb(18, 73, 18);
/* oklch */ color: oklch(35.7% 0.102 143.1);
Tailwind
colors: {
  custom: {
    50: '#597c53',
    500: '#124912',
    950: '#000000',
  },
}
SCSS
$custom: #124912;
$custom-light: #597c53;
$custom-dark: #000000;
JSON
{
  "hex": "#124912",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3569,
    "c": 0.10225,
    "h": 143.1
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#124912
secondary
#823582
accent
#44E4E4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #124912

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

Preview Lab → · Contrast checker → · Palette generator →

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