#124F1A#124F1A

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

Color values

HEX#124F1A
RGBrgb(18, 79, 26)
HSLhsl(128, 63%, 19%)
HSVhsv(128, 77%, 31%)
CMYKcmyk(77.2%, 0%, 67.1%, 69%)
CIE-LABlab(28.89, -31.50, 25.29)
CIE-LCHlch(28.89, 40.40, 141.24°)
OKLaboklab(37.65% -0.0851 0.0594)
OKLCHoklch(37.65% 0.104 145.1)
XYZxyz(3.2317, 5.7948, 1.9253)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F1A #4F1247
analogous
#294F12 #124F1A #124F39
triadic
#124F1A #1A124F #4F1A12
tetradic
#124F1A #12294F #4F1247 #4F3912
square
#124F1A #12294F #4F1247 #4F3912
split-complementary
#124F1A #39124F #4F1229
monochromatic
#061908 #071D0A #124F1A #1D812A #29B33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124F1A#FFFFFF#000000##FFFFFF
##124F1A1.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)
#504714
Deuteranopia (green-blind)
#49421E
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f1a;
/* rgb */ color: rgb(18, 79, 26);
/* oklch */ color: oklch(37.7% 0.104 145.1);
Tailwind
colors: {
  custom: {
    50: '#5a8159',
    500: '#124f1a',
    950: '#000000',
  },
}
SCSS
$custom: #124f1a;
$custom-light: #5a8159;
$custom-dark: #000000;
JSON
{
  "hex": "#124f1a",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 26
  },
  "hsl": {
    "h": 127.869,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37651,
    "c": 0.10377,
    "h": 145.1
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#124F1A
secondary
#88357D
accent
#42D0E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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