#124223#124223

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

Color values

HEX#124223
RGBrgb(18, 66, 35)
HSLhsl(141, 57%, 16%)
HSVhsv(141, 73%, 26%)
CMYKcmyk(72.7%, 0%, 47%, 74.1%)
CIE-LABlab(24.15, -24.34, 14.27)
CIE-LCHlch(24.15, 28.22, 149.62°)
OKLaboklab(33.78% -0.0657 0.0354)
OKLCHoklch(33.78% 0.075 151.7)
XYZxyz(2.5008, 4.1461, 2.2583)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124223 #421231
analogous
#194212 #124223 #12423B
triadic
#124223 #231242 #422312
tetradic
#124223 #121942 #421231 #423B12
square
#124223 #121942 #421231 #423B12
split-complementary
#124223 #3B1242 #421219
monochromatic
#07180D #07180D #124223 #1F723D #2CA256

Accessibility & contrast

On white

11.48
#124223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124223
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124223#FFFFFF#000000##FFFFFF
##1242231.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C21
Deuteranopia (green-blind)
#3C3825
Tritanopia (blue-blind)
#01413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #124223;
/* rgb */ color: rgb(18, 66, 35);
/* oklch */ color: oklch(33.8% 0.075 151.7);
Tailwind
colors: {
  custom: {
    50: '#57775e',
    500: '#124223',
    950: '#000000',
  },
}
SCSS
$custom: #124223;
$custom-light: #57775e;
$custom-dark: #000000;
JSON
{
  "hex": "#124223",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 35
  },
  "hsl": {
    "h": 141.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3378,
    "c": 0.07463,
    "h": 151.7
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#124223
secondary
#7B3562
accent
#47AAE0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #124223

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

Preview Lab → · Contrast checker → · Palette generator →

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