#124C21#124C21

#124C21 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.093 H 148.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#124C21
RGBrgb(18, 76, 33)
HSLhsl(136, 62%, 18%)
HSVhsv(136, 76%, 30%)
CMYKcmyk(76.3%, 0%, 56.6%, 70.2%)
CIE-LABlab(27.86, -29.18, 20.19)
CIE-LCHlch(27.86, 35.48, 145.31°)
OKLaboklab(36.83% -0.0786 0.0488)
OKLCHoklch(36.83% 0.093 148.2)
XYZxyz(3.1082, 5.4069, 2.3184)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C21 #4C123D
analogous
#204C12 #124C21 #124C3E
triadic
#124C21 #21124C #4C2112
tetradic
#124C21 #12204C #4C123D #4C3E12
square
#124C21 #12204C #4C123D #4C3E12
split-complementary
#124C21 #3E124C #4C1220
monochromatic
#06190B #061B0C #124C21 #1E7D36 #29AF4C

Accessibility & contrast

On white

10.09
#124C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#124C21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C21
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C21#FFFFFF#000000##FFFFFF
##124C211.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451D
Deuteranopia (green-blind)
#464024
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c21;
/* rgb */ color: rgb(18, 76, 33);
/* oklch */ color: oklch(36.8% 0.093 148.2);
Tailwind
colors: {
  custom: {
    50: '#597f5d',
    500: '#124c21',
    950: '#000000',
  },
}
SCSS
$custom: #124c21;
$custom-light: #597f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#124c21",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 33
  },
  "hsl": {
    "h": 135.517,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36833,
    "c": 0.09252,
    "h": 148.2
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#124C21
secondary
#853570
accent
#43BBE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124C21

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

Preview Lab → · Contrast checker → · Palette generator →

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