#124227#124227

#124227 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.9% C 0.070 H 154.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#124227
RGBrgb(18, 66, 39)
HSLhsl(146, 57%, 16%)
HSVhsv(146, 73%, 26%)
CMYKcmyk(72.7%, 0%, 40.9%, 74.1%)
CIE-LABlab(24.23, -23.45, 11.85)
CIE-LCHlch(24.23, 26.28, 153.20°)
OKLaboklab(33.87% -0.0635 0.0297)
OKLCHoklch(33.87% 0.07 154.9)
XYZxyz(2.5637, 4.1712, 2.5891)
Luminance0.0417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124227 #42122D
analogous
#154212 #124227 #12423F
triadic
#124227 #271242 #422712
tetradic
#124227 #121542 #42122D #423F12
square
#124227 #121542 #42122D #423F12
split-complementary
#124227 #3F1242 #421215
monochromatic
#07180E #07180E #124227 #1F7243 #2CA260

Accessibility & contrast

On white

11.45
#124227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124227
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124227#FFFFFF#000000##FFFFFF
##1242271.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C25
Deuteranopia (green-blind)
#3C3829
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #124227;
/* rgb */ color: rgb(18, 66, 39);
/* oklch */ color: oklch(33.9% 0.070 154.9);
Tailwind
colors: {
  custom: {
    50: '#577761',
    500: '#124227',
    950: '#000000',
  },
}
SCSS
$custom: #124227;
$custom-light: #577761;
$custom-dark: #000000;
JSON
{
  "hex": "#124227",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 146.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33873,
    "c": 0.07015,
    "h": 154.9
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#124227
secondary
#7B355C
accent
#479DE0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #124227

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

Preview Lab → · Contrast checker → · Palette generator →

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