#124F29#124F29

#124F29 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.089 H 151.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#124F29
RGBrgb(18, 79, 41)
HSLhsl(143, 63%, 19%)
HSVhsv(143, 77%, 31%)
CMYKcmyk(77.2%, 0%, 48.1%, 69%)
CIE-LABlab(29.11, -28.96, 17.03)
CIE-LCHlch(29.11, 33.59, 149.54°)
OKLaboklab(37.9% -0.078 0.042)
OKLCHoklch(37.9% 0.089 151.7)
XYZxyz(3.4454, 5.8803, 3.0508)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F29 #4F1238
analogous
#1A4F12 #124F29 #124F48
triadic
#124F29 #29124F #4F2912
tetradic
#124F29 #121A4F #4F1238 #4F4812
square
#124F29 #121A4F #4F1238 #4F4812
split-complementary
#124F29 #48124F #4F121A
monochromatic
#06190D #071D0F #124F29 #1D8143 #29B35D

Accessibility & contrast

On white

9.65
#124F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#124F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F29
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F29#FFFFFF#000000##FFFFFF
##124F291.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4826
Deuteranopia (green-blind)
#48432C
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f29;
/* rgb */ color: rgb(18, 79, 41);
/* oklch */ color: oklch(37.9% 0.089 151.7);
Tailwind
colors: {
  custom: {
    50: '#5a8163',
    500: '#124f29',
    950: '#000000',
  },
}
SCSS
$custom: #124f29;
$custom-light: #5a8163;
$custom-dark: #000000;
JSON
{
  "hex": "#124f29",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 41
  },
  "hsl": {
    "h": 142.623,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37904,
    "c": 0.08858,
    "h": 151.7
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#124F29
secondary
#883569
accent
#42A8E6
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124F29

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

Preview Lab → · Contrast checker → · Palette generator →

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