#124221#124221

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

Color values

HEX#124221
RGBrgb(18, 66, 33)
HSLhsl(139, 57%, 16%)
HSVhsv(139, 73%, 26%)
CMYKcmyk(72.7%, 0%, 50%, 74.1%)
CIE-LABlab(24.11, -24.75, 15.47)
CIE-LCHlch(24.11, 29.19, 148.00°)
OKLaboklab(33.74% -0.0668 0.0381)
OKLCHoklch(33.74% 0.077 150.3)
XYZxyz(2.4720, 4.1346, 2.1063)
Luminance0.0413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124221 #421233
analogous
#1B4212 #124221 #124239
triadic
#124221 #211242 #422112
tetradic
#124221 #121B42 #421233 #423912
square
#124221 #121B42 #421233 #423912
split-complementary
#124221 #391242 #42121B
monochromatic
#07180C #07180C #124221 #1F7239 #2CA251

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124221#FFFFFF#000000##FFFFFF
##1242211.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)
#423C1F
Deuteranopia (green-blind)
#3C3823
Tritanopia (blue-blind)
#02413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #124221;
/* rgb */ color: rgb(18, 66, 33);
/* oklch */ color: oklch(33.7% 0.077 150.3);
Tailwind
colors: {
  custom: {
    50: '#57775c',
    500: '#124221',
    950: '#000000',
  },
}
SCSS
$custom: #124221;
$custom-light: #57775c;
$custom-dark: #000000;
JSON
{
  "hex": "#124221",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 33
  },
  "hsl": {
    "h": 138.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33737,
    "c": 0.07688,
    "h": 150.3
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#124221
secondary
#7B3565
accent
#47B1E0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #124221

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

Preview Lab → · Contrast checker → · Palette generator →

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