#124F2F#124F2F

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

Color values

HEX#124F2F
RGBrgb(18, 79, 47)
HSLhsl(149, 63%, 19%)
HSVhsv(149, 77%, 31%)
CMYKcmyk(77.2%, 0%, 40.5%, 69%)
CIE-LABlab(29.22, -27.67, 13.51)
CIE-LCHlch(29.22, 30.79, 153.97°)
OKLaboklab(38.04% -0.0748 0.0339)
OKLCHoklch(38.04% 0.082 155.6)
XYZxyz(3.5582, 5.9254, 3.6450)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F2F #4F1232
analogous
#134F12 #124F2F #124F4E
triadic
#124F2F #2F124F #4F2F12
tetradic
#124F2F #12134F #4F1232 #4F4E12
square
#124F2F #12134F #4F1232 #4F4E12
split-complementary
#124F2F #4E124F #4F1213
monochromatic
#06190F #071D11 #124F2F #1D814D #29B36A

Accessibility & contrast

On white

9.61
#124F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#124F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F2F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F2F#FFFFFF#000000##FFFFFF
##124F2F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#474331
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f2f;
/* rgb */ color: rgb(18, 79, 47);
/* oklch */ color: oklch(38.0% 0.082 155.6);
Tailwind
colors: {
  custom: {
    50: '#5a8167',
    500: '#124f2f',
    950: '#000000',
  },
}
SCSS
$custom: #124f2f;
$custom-light: #5a8167;
$custom-dark: #000000;
JSON
{
  "hex": "#124f2f",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 148.525,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38036,
    "c": 0.08212,
    "h": 155.6
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#124F2F
secondary
#883560
accent
#4298E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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