#124D2F#124D2F

#124D2F is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.079 H 156.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#124D2F
RGBrgb(18, 77, 47)
HSLhsl(149, 62%, 19%)
HSVhsv(149, 77%, 30%)
CMYKcmyk(76.6%, 0%, 39%, 69.8%)
CIE-LABlab(28.49, -26.75, 12.53)
CIE-LCHlch(28.49, 29.54, 154.91°)
OKLaboklab(37.43% -0.0725 0.0315)
OKLCHoklch(37.43% 0.079 156.5)
XYZxyz(3.4161, 5.6412, 3.5976)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D2F #4D1230
analogous
#124D12 #124D2F #124D4C
triadic
#124D2F #2F124D #4D2F12
tetradic
#124D2F #12124D #4D1230 #4D4C12
square
#124D2F #12124D #4D1230 #4D4C12
split-complementary
#124D2F #4C124D #4D1212
monochromatic
#06190F #061B11 #124D2F #1E7F4D #29B06C

Accessibility & contrast

On white

9.87
#124D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D2F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D2F#FFFFFF#000000##FFFFFF
##124D2F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#454131
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d2f;
/* rgb */ color: rgb(18, 77, 47);
/* oklch */ color: oklch(37.4% 0.079 156.5);
Tailwind
colors: {
  custom: {
    50: '#597f67',
    500: '#124d2f',
    950: '#000000',
  },
}
SCSS
$custom: #124d2f;
$custom-light: #597f67;
$custom-dark: #000000;
JSON
{
  "hex": "#124d2f",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 47
  },
  "hsl": {
    "h": 149.492,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37431,
    "c": 0.07902,
    "h": 156.5
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#124D2F
secondary
#86355E
accent
#4395E5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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