#124D21#124D21

#124D21 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.094 H 148.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#124D21
RGBrgb(18, 77, 33)
HSLhsl(135, 62%, 19%)
HSVhsv(135, 77%, 30%)
CMYKcmyk(76.6%, 0%, 57.1%, 69.8%)
CIE-LABlab(28.24, -29.60, 20.65)
CIE-LCHlch(28.24, 36.09, 145.10°)
OKLaboklab(37.14% -0.0797 0.0498)
OKLCHoklch(37.14% 0.094 148)
XYZxyz(3.1776, 5.5458, 2.3415)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D21 #4D123E
analogous
#204D12 #124D21 #124D3E
triadic
#124D21 #21124D #4D2112
tetradic
#124D21 #12204D #4D123E #4D3E12
square
#124D21 #12204D #4D123E #4D3E12
split-complementary
#124D21 #3E124D #4D1220
monochromatic
#06190B #061B0C #124D21 #1E7F36 #29B04C

Accessibility & contrast

On white

9.96
#124D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#124D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D21
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D21#FFFFFF#000000##FFFFFF
##124D211.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461D
Deuteranopia (green-blind)
#474124
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d21;
/* rgb */ color: rgb(18, 77, 33);
/* oklch */ color: oklch(37.1% 0.094 148.0);
Tailwind
colors: {
  custom: {
    50: '#5a7f5d',
    500: '#124d21',
    950: '#000000',
  },
}
SCSS
$custom: #124d21;
$custom-light: #5a7f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#124d21",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 33
  },
  "hsl": {
    "h": 135.254,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37141,
    "c": 0.09402,
    "h": 148
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#124D21
secondary
#863571
accent
#43BCE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124D21

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

Preview Lab → · Contrast checker → · Palette generator →

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