#124229#124229

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

Color values

HEX#124229
RGBrgb(18, 66, 41)
HSLhsl(149, 57%, 16%)
HSVhsv(149, 73%, 26%)
CMYKcmyk(72.7%, 0%, 37.9%, 74.1%)
CIE-LABlab(24.27, -22.98, 10.63)
CIE-LCHlch(24.27, 25.32, 155.18°)
OKLaboklab(33.92% -0.0624 0.0268)
OKLCHoklch(33.92% 0.068 156.8)
XYZxyz(2.5977, 4.1849, 2.7682)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124229 #42122B
analogous
#134212 #124229 #124241
triadic
#124229 #291242 #422912
tetradic
#124229 #121342 #42122B #424112
square
#124229 #121342 #42122B #424112
split-complementary
#124229 #411242 #421213
monochromatic
#07180F #07180F #124229 #1F7247 #2CA265

Accessibility & contrast

On white

11.43
#124229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#124229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124229
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124229#FFFFFF#000000##FFFFFF
##1242291.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124229;
/* rgb */ color: rgb(18, 66, 41);
/* oklch */ color: oklch(33.9% 0.068 156.8);
Tailwind
colors: {
  custom: {
    50: '#577762',
    500: '#124229',
    950: '#000000',
  },
}
SCSS
$custom: #124229;
$custom-light: #577762;
$custom-dark: #000000;
JSON
{
  "hex": "#124229",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 41
  },
  "hsl": {
    "h": 148.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33924,
    "c": 0.06793,
    "h": 156.8
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#124229
secondary
#7B3559
accent
#4797E0
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #124229

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

Preview Lab → · Contrast checker → · Palette generator →

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