#124017#124017

#124017 is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.9% C 0.085 H 145.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#124017
RGBrgb(18, 64, 23)
HSLhsl(127, 56%, 16%)
HSVhsv(127, 72%, 25%)
CMYKcmyk(71.9%, 0%, 64.1%, 74.9%)
CIE-LABlab(23.19, -25.64, 20.31)
CIE-LCHlch(23.19, 32.71, 141.61°)
OKLaboklab(32.93% -0.0694 0.0483)
OKLCHoklch(32.93% 0.085 145.2)
XYZxyz(2.2374, 3.8570, 1.4370)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124017 #40123B
analogous
#244012 #124017 #12402E
triadic
#124017 #171240 #401712
tetradic
#124017 #122440 #40123B #402E12
square
#124017 #122440 #40123B #402E12
split-complementary
#124017 #2E1240 #401224
monochromatic
#071809 #071809 #124017 #1F7028 #2DA039

Accessibility & contrast

On white

11.86
#124017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#124017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124017
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124017#FFFFFF#000000##FFFFFF
##1240171.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A13
Deuteranopia (green-blind)
#3B361A
Tritanopia (blue-blind)
#073E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #124017;
/* rgb */ color: rgb(18, 64, 23);
/* oklch */ color: oklch(32.9% 0.085 145.2);
Tailwind
colors: {
  custom: {
    50: '#577555',
    500: '#124017',
    950: '#000000',
  },
}
SCSS
$custom: #124017;
$custom-light: #577555;
$custom-dark: #000000;
JSON
{
  "hex": "#124017",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 126.522,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32928,
    "c": 0.08453,
    "h": 145.2
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#124017
secondary
#793572
accent
#48CFDF
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #124017

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

Preview Lab → · Contrast checker → · Palette generator →

#124017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva