#124F1D#124F1D

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

Color values

HEX#124F1D
RGBrgb(18, 79, 29)
HSLhsl(131, 63%, 19%)
HSVhsv(131, 77%, 31%)
CMYKcmyk(77.2%, 0%, 63.3%, 69%)
CIE-LABlab(28.93, -31.07, 23.73)
CIE-LCHlch(28.93, 39.10, 142.64°)
OKLaboklab(37.69% -0.0838 0.0563)
OKLCHoklch(37.69% 0.101 146.1)
XYZxyz(3.2670, 5.8089, 2.1112)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F1D #4F1244
analogous
#264F12 #124F1D #124F3C
triadic
#124F1D #1D124F #4F1D12
tetradic
#124F1D #12264F #4F1244 #4F3C12
square
#124F1D #12264F #4F1244 #4F3C12
split-complementary
#124F1D #3C124F #4F1226
monochromatic
#061909 #071D0B #124F1D #1D812F #29B342

Accessibility & contrast

On white

9.71
#124F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124F1D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F1D#FFFFFF#000000##FFFFFF
##124F1D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504718
Deuteranopia (green-blind)
#494221
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f1d;
/* rgb */ color: rgb(18, 79, 29);
/* oklch */ color: oklch(37.7% 0.101 146.1);
Tailwind
colors: {
  custom: {
    50: '#5a815b',
    500: '#124f1d',
    950: '#000000',
  },
}
SCSS
$custom: #124f1d;
$custom-light: #5a815b;
$custom-dark: #000000;
JSON
{
  "hex": "#124f1d",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 29
  },
  "hsl": {
    "h": 130.82,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37693,
    "c": 0.10096,
    "h": 146.1
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#124F1D
secondary
#883579
accent
#42C8E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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