#124F19#124F19

#124F19 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.105 H 144.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#124F19
RGBrgb(18, 79, 25)
HSLhsl(127, 63%, 19%)
HSVhsv(127, 77%, 31%)
CMYKcmyk(77.2%, 0%, 68.4%, 69%)
CIE-LABlab(28.88, -31.64, 25.80)
CIE-LCHlch(28.88, 40.82, 140.81°)
OKLaboklab(37.64% -0.0855 0.0603)
OKLCHoklch(37.64% 0.105 144.8)
XYZxyz(3.2207, 5.7904, 1.8674)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F19 #4F1248
analogous
#2A4F12 #124F19 #124F38
triadic
#124F19 #19124F #4F1912
tetradic
#124F19 #122A4F #4F1248 #4F3812
square
#124F19 #122A4F #4F1248 #4F3812
split-complementary
#124F19 #38124F #4F122A
monochromatic
#061908 #071D09 #124F19 #1D8129 #29B339

Accessibility & contrast

On white

9.73
#124F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F19
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F19#FFFFFF#000000##FFFFFF
##124F191.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#49421E
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f19;
/* rgb */ color: rgb(18, 79, 25);
/* oklch */ color: oklch(37.6% 0.105 144.8);
Tailwind
colors: {
  custom: {
    50: '#5b8158',
    500: '#124f19',
    950: '#000000',
  },
}
SCSS
$custom: #124f19;
$custom-light: #5b8158;
$custom-dark: #000000;
JSON
{
  "hex": "#124f19",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 126.885,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.10467,
    "h": 144.8
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#124F19
secondary
#88357E
accent
#42D3E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124F19

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

Preview Lab → · Contrast checker → · Palette generator →

#124F19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva