#124222#124222

#124222 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.8% C 0.076 H 151.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#124222
RGBrgb(18, 66, 34)
HSLhsl(140, 57%, 16%)
HSVhsv(140, 73%, 26%)
CMYKcmyk(72.7%, 0%, 48.5%, 74.1%)
CIE-LABlab(24.13, -24.55, 14.87)
CIE-LCHlch(24.13, 28.70, 148.79°)
OKLaboklab(33.76% -0.0663 0.0367)
OKLCHoklch(33.76% 0.076 151)
XYZxyz(2.4862, 4.1403, 2.1812)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124222 #421232
analogous
#1A4212 #124222 #12423A
triadic
#124222 #221242 #422212
tetradic
#124222 #121A42 #421232 #423A12
square
#124222 #121A42 #421232 #423A12
split-complementary
#124222 #3A1242 #42121A
monochromatic
#07180C #07180C #124222 #1F723B #2CA254

Accessibility & contrast

On white

11.49
#124222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#124222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124222
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124222#FFFFFF#000000##FFFFFF
##1242221.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C20
Deuteranopia (green-blind)
#3C3824
Tritanopia (blue-blind)
#02413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #124222;
/* rgb */ color: rgb(18, 66, 34);
/* oklch */ color: oklch(33.8% 0.076 151.0);
Tailwind
colors: {
  custom: {
    50: '#57775d',
    500: '#124222',
    950: '#000000',
  },
}
SCSS
$custom: #124222;
$custom-light: #57775d;
$custom-dark: #000000;
JSON
{
  "hex": "#124222",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 140,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33758,
    "c": 0.07576,
    "h": 151
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#124222
secondary
#7B3564
accent
#47ADE0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #124222

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

Preview Lab → · Contrast checker → · Palette generator →

#124222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva