#124F20#124F20

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

Color values

HEX#124F20
RGBrgb(18, 79, 32)
HSLhsl(134, 63%, 19%)
HSVhsv(134, 77%, 31%)
CMYKcmyk(77.2%, 0%, 59.5%, 69%)
CIE-LABlab(28.97, -30.60, 22.11)
CIE-LCHlch(28.97, 37.75, 144.15°)
OKLaboklab(37.74% -0.0825 0.053)
OKLCHoklch(37.74% 0.098 147.3)
XYZxyz(3.3059, 5.8245, 2.3162)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F20 #4F1241
analogous
#234F12 #124F20 #124F3F
triadic
#124F20 #20124F #4F2012
tetradic
#124F20 #12234F #4F1241 #4F3F12
square
#124F20 #12234F #4F1241 #4F3F12
split-complementary
#124F20 #3F124F #4F1223
monochromatic
#06190A #071D0C #124F20 #1D8134 #29B348

Accessibility & contrast

On white

9.70
#124F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#124F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F20
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F20#FFFFFF#000000##FFFFFF
##124F201.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471C
Deuteranopia (green-blind)
#494224
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f20;
/* rgb */ color: rgb(18, 79, 32);
/* oklch */ color: oklch(37.7% 0.098 147.3);
Tailwind
colors: {
  custom: {
    50: '#5a815d',
    500: '#124f20',
    950: '#000000',
  },
}
SCSS
$custom: #124f20;
$custom-light: #5a815d;
$custom-dark: #000000;
JSON
{
  "hex": "#124f20",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 32
  },
  "hsl": {
    "h": 133.77,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37739,
    "c": 0.09801,
    "h": 147.3
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#124F20
secondary
#883575
accent
#42C0E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124F20

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

Preview Lab → · Contrast checker → · Palette generator →

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