#124810#124810

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

Color values

HEX#124810
RGBrgb(18, 72, 16)
HSLhsl(118, 64%, 17%)
HSVhsv(118, 78%, 28%)
CMYKcmyk(75%, 0%, 77.8%, 71.8%)
CIE-LABlab(26.16, -29.91, 27.25)
CIE-LCHlch(26.16, 40.46, 137.66°)
OKLaboklab(35.36% -0.0813 0.0623)
OKLCHoklch(35.36% 0.102 142.6)
XYZxyz(2.6602, 4.8005, 1.2765)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124810 #461048
analogous
#2E4810 #124810 #10482A
triadic
#124810 #101248 #481012
tetradic
#124810 #102E48 #461048 #482A10
square
#124810 #102E48 #461048 #482A10
split-complementary
#124810 #2A1048 #48102E
monochromatic
#061906 #061906 #124810 #1F7A1B #2BAC26

Accessibility & contrast

On white

10.71
#124810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124810
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124810#FFFFFF#000000##FFFFFF
##1248101.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4108
Deuteranopia (green-blind)
#433C15
Tritanopia (blue-blind)
#06463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124810;
/* rgb */ color: rgb(18, 72, 16);
/* oklch */ color: oklch(35.4% 0.102 142.6);
Tailwind
colors: {
  custom: {
    50: '#597c52',
    500: '#124810',
    950: '#000000',
  },
}
SCSS
$custom: #124810;
$custom-light: #597c52;
$custom-dark: #000000;
JSON
{
  "hex": "#124810",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 117.857,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35356,
    "c": 0.10242,
    "h": 142.6
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#124810
secondary
#7F3282
accent
#41E7E1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #124810

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

Preview Lab → · Contrast checker → · Palette generator →

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