#124815#124815

#124815 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.098 H 143.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#124815
RGBrgb(18, 72, 21)
HSLhsl(123, 60%, 18%)
HSVhsv(123, 75%, 28%)
CMYKcmyk(75%, 0%, 70.8%, 71.8%)
CIE-LABlab(26.21, -29.33, 24.86)
CIE-LCHlch(26.21, 38.45, 139.71°)
OKLaboklab(35.41% -0.0795 0.0579)
OKLCHoklch(35.41% 0.098 143.9)
XYZxyz(2.7020, 4.8172, 1.4967)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124815 #481245
analogous
#2A4812 #124815 #124830
triadic
#124815 #151248 #481512
tetradic
#124815 #122A48 #481245 #483012
square
#124815 #122A48 #481245 #483012
split-complementary
#124815 #301248 #48122A
monochromatic
#061807 #061807 #124815 #1E7923 #2AAA32

Accessibility & contrast

On white

10.70
#124815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#124815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124815
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124815#FFFFFF#000000##FFFFFF
##1248151.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410F
Deuteranopia (green-blind)
#433C19
Tritanopia (blue-blind)
#04463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124815;
/* rgb */ color: rgb(18, 72, 21);
/* oklch */ color: oklch(35.4% 0.098 143.9);
Tailwind
colors: {
  custom: {
    50: '#597c55',
    500: '#124815',
    950: '#000000',
  },
}
SCSS
$custom: #124815;
$custom-light: #597c55;
$custom-dark: #000000;
JSON
{
  "hex": "#124815",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 21
  },
  "hsl": {
    "h": 123.333,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35413,
    "c": 0.09831,
    "h": 143.9
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#124815
secondary
#81357D
accent
#45DAE3
background
#F5F7F5
surface
#E9EEE8
border
#C5C9C4
text
#040903
muted
#797B78

Preview Lab

Preview with #124815

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

Preview Lab → · Contrast checker → · Palette generator →

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