#124F2D#124F2D

#124F2D is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.084 H 154.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#124F2D
RGBrgb(18, 79, 45)
HSLhsl(147, 63%, 19%)
HSVhsv(147, 77%, 31%)
CMYKcmyk(77.2%, 0%, 43%, 69%)
CIE-LABlab(29.18, -28.11, 14.69)
CIE-LCHlch(29.18, 31.72, 152.41°)
OKLaboklab(37.99% -0.0759 0.0366)
OKLCHoklch(37.99% 0.084 154.2)
XYZxyz(3.5188, 5.9096, 3.4373)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F2D #4F1234
analogous
#164F12 #124F2D #124F4C
triadic
#124F2D #2D124F #4F2D12
tetradic
#124F2D #12164F #4F1234 #4F4C12
square
#124F2D #12164F #4F1234 #4F4C12
split-complementary
#124F2D #4C124F #4F1216
monochromatic
#06190E #071D11 #124F2D #1D8149 #29B366

Accessibility & contrast

On white

9.62
#124F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124F2D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F2D#FFFFFF#000000##FFFFFF
##124F2D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482B
Deuteranopia (green-blind)
#47432F
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f2d;
/* rgb */ color: rgb(18, 79, 45);
/* oklch */ color: oklch(38.0% 0.084 154.2);
Tailwind
colors: {
  custom: {
    50: '#5a8166',
    500: '#124f2d',
    950: '#000000',
  },
}
SCSS
$custom: #124f2d;
$custom-light: #5a8166;
$custom-dark: #000000;
JSON
{
  "hex": "#124f2d",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 45
  },
  "hsl": {
    "h": 146.557,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3799,
    "c": 0.08427,
    "h": 154.2
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#124F2D
secondary
#883563
accent
#429DE6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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