#124F1F#124F1F

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

Color values

HEX#124F1F
RGBrgb(18, 79, 31)
HSLhsl(133, 63%, 19%)
HSVhsv(133, 77%, 31%)
CMYKcmyk(77.2%, 0%, 60.8%, 69%)
CIE-LABlab(28.95, -30.76, 22.65)
CIE-LCHlch(28.95, 38.21, 143.63°)
OKLaboklab(37.72% -0.0829 0.0541)
OKLCHoklch(37.72% 0.099 146.9)
XYZxyz(3.2925, 5.8191, 2.2457)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F1F #4F1242
analogous
#244F12 #124F1F #124F3E
triadic
#124F1F #1F124F #4F1F12
tetradic
#124F1F #12244F #4F1242 #4F3E12
square
#124F1F #12244F #4F1242 #4F3E12
split-complementary
#124F1F #3E124F #4F1224
monochromatic
#06190A #071D0B #124F1F #1D8133 #29B346

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124F1F#FFFFFF#000000##FFFFFF
##124F1F1.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)
#50471A
Deuteranopia (green-blind)
#494223
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f1f;
/* rgb */ color: rgb(18, 79, 31);
/* oklch */ color: oklch(37.7% 0.099 146.9);
Tailwind
colors: {
  custom: {
    50: '#5a815c',
    500: '#124f1f',
    950: '#000000',
  },
}
SCSS
$custom: #124f1f;
$custom-light: #5a815c;
$custom-dark: #000000;
JSON
{
  "hex": "#124f1f",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 31
  },
  "hsl": {
    "h": 132.787,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37723,
    "c": 0.099,
    "h": 146.9
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#124F1F
secondary
#883576
accent
#42C3E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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