#124512#124512

#124512 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.4% C 0.097 H 143.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#124512
RGBrgb(18, 69, 18)
HSLhsl(120, 59%, 17%)
HSVhsv(120, 74%, 27%)
CMYKcmyk(73.9%, 0%, 73.9%, 72.9%)
CIE-LABlab(25.04, -28.46, 25.10)
CIE-LCHlch(25.04, 37.95, 138.60°)
OKLaboklab(34.44% -0.0773 0.058)
OKLCHoklch(34.44% 0.097 143.1)
XYZxyz(2.4866, 4.4283, 1.2958)
Luminance0.0443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124512 #451245
analogous
#2C4512 #124512 #12452C
triadic
#124512 #121245 #451212
tetradic
#124512 #122C45 #451245 #452C12
square
#124512 #122C45 #451245 #452C12
split-complementary
#124512 #2C1245 #45122C
monochromatic
#061806 #061806 #124512 #1F761F #2BA62B

Accessibility & contrast

On white

11.14
#124512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#124512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124512
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124512#FFFFFF#000000##FFFFFF
##1245121.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0B
Deuteranopia (green-blind)
#403A17
Tritanopia (blue-blind)
#06433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #124512;
/* rgb */ color: rgb(18, 69, 18);
/* oklch */ color: oklch(34.4% 0.097 143.1);
Tailwind
colors: {
  custom: {
    50: '#587952',
    500: '#124512',
    950: '#000000',
  },
}
SCSS
$custom: #124512;
$custom-light: #587952;
$custom-dark: #000000;
JSON
{
  "hex": "#124512",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.09663,
    "h": 143.1
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#124512
secondary
#7E357E
accent
#46E2E2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #124512

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

Preview Lab → · Contrast checker → · Palette generator →

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