#124F15#124F15

#124F15 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.108 H 143.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#124F15
RGBrgb(18, 79, 21)
HSLhsl(123, 63%, 19%)
HSVhsv(123, 77%, 31%)
CMYKcmyk(77.2%, 0%, 73.4%, 69%)
CIE-LABlab(28.84, -32.13, 27.75)
CIE-LCHlch(28.84, 42.46, 139.19°)
OKLaboklab(37.59% -0.0871 0.064)
OKLCHoklch(37.59% 0.108 143.7)
XYZxyz(3.1806, 5.7744, 1.6563)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F15 #4F124C
analogous
#2E4F12 #124F15 #124F34
triadic
#124F15 #15124F #4F1512
tetradic
#124F15 #122E4F #4F124C #4F3412
square
#124F15 #122E4F #4F124C #4F3412
split-complementary
#124F15 #34124F #4F122E
monochromatic
#061907 #071D08 #124F15 #1D8122 #29B32F

Accessibility & contrast

On white

9.74
#124F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F15
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F15#FFFFFF#000000##FFFFFF
##124F151.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470D
Deuteranopia (green-blind)
#4A421A
Tritanopia (blue-blind)
#014D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f15;
/* rgb */ color: rgb(18, 79, 21);
/* oklch */ color: oklch(37.6% 0.108 143.7);
Tailwind
colors: {
  custom: {
    50: '#5b8155',
    500: '#124f15',
    950: '#000000',
  },
}
SCSS
$custom: #124f15;
$custom-light: #5b8155;
$custom-dark: #000000;
JSON
{
  "hex": "#124f15",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 122.951,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3759,
    "c": 0.10806,
    "h": 143.7
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#124F15
secondary
#883584
accent
#42DEE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124F15

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

Preview Lab → · Contrast checker → · Palette generator →

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