#124A29#124A29

#124A29 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.081 H 153.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#124A29
RGBrgb(18, 74, 41)
HSLhsl(145, 61%, 18%)
HSVhsv(145, 76%, 29%)
CMYKcmyk(75.7%, 0%, 44.6%, 71%)
CIE-LABlab(27.26, -26.74, 14.62)
CIE-LCHlch(27.26, 30.47, 151.34°)
OKLaboklab(36.38% -0.0722 0.0363)
OKLCHoklch(36.38% 0.081 153.3)
XYZxyz(3.0982, 5.1859, 2.9351)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A29 #4A1233
analogous
#174A12 #124A29 #124A45
triadic
#124A29 #29124A #4A2912
tetradic
#124A29 #12174A #4A1233 #4A4512
square
#124A29 #12174A #4A1233 #4A4512
split-complementary
#124A29 #45124A #4A1217
monochromatic
#06190E #06190E #124A29 #1E7B44 #2AAC60

Accessibility & contrast

On white

10.31
#124A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#124A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A29
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A29#FFFFFF#000000##FFFFFF
##124A291.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4327
Deuteranopia (green-blind)
#433E2B
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a29;
/* rgb */ color: rgb(18, 74, 41);
/* oklch */ color: oklch(36.4% 0.081 153.3);
Tailwind
colors: {
  custom: {
    50: '#587d63',
    500: '#124a29',
    950: '#000000',
  },
}
SCSS
$custom: #124a29;
$custom-light: #587d63;
$custom-dark: #000000;
JSON
{
  "hex": "#124a29",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 41
  },
  "hsl": {
    "h": 144.643,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36378,
    "c": 0.0808,
    "h": 153.3
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#124A29
secondary
#833563
accent
#44A2E4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124A29

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

Preview Lab → · Contrast checker → · Palette generator →

#124A29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva