#124F10#124F10

#124F10 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.5% C 0.112 H 142.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#124F10
RGBrgb(18, 79, 16)
HSLhsl(118, 66%, 19%)
HSVhsv(118, 80%, 31%)
CMYKcmyk(77.2%, 0%, 79.7%, 69%)
CIE-LABlab(28.79, -32.66, 29.98)
CIE-LCHlch(28.79, 44.33, 137.45°)
OKLaboklab(37.54% -0.0888 0.068)
OKLCHoklch(37.54% 0.112 142.6)
XYZxyz(3.1388, 5.7576, 1.4360)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F10 #4D104F
analogous
#314F10 #124F10 #104F2D
triadic
#124F10 #10124F #4F1012
tetradic
#124F10 #10314F #4D104F #4F2D10
square
#124F10 #10314F #4D104F #4F2D10
split-complementary
#124F10 #2D104F #4F1031
monochromatic
#061905 #061C06 #124F10 #1E821A #29B525

Accessibility & contrast

On white

9.76
#124F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F10
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F10#FFFFFF#000000##FFFFFF
##124F101.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514705
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#024C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f10;
/* rgb */ color: rgb(18, 79, 16);
/* oklch */ color: oklch(37.5% 0.112 142.6);
Tailwind
colors: {
  custom: {
    50: '#5b8153',
    500: '#124f10',
    950: '#000000',
  },
}
SCSS
$custom: #124f10;
$custom-light: #5b8153;
$custom-dark: #000000;
JSON
{
  "hex": "#124f10",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 118.095,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3754,
    "c": 0.11179,
    "h": 142.6
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#124F10
secondary
#863289
accent
#3FE9E4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124F10

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

Preview Lab → · Contrast checker → · Palette generator →

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