#124F0E#124F0E

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

Color values

HEX#124F0E
RGBrgb(18, 79, 14)
HSLhsl(116, 70%, 18%)
HSVhsv(116, 82%, 31%)
CMYKcmyk(77.2%, 0%, 82.3%, 69%)
CIE-LABlab(28.78, -32.84, 30.79)
CIE-LCHlch(28.78, 45.01, 136.84°)
OKLaboklab(37.52% -0.0894 0.0693)
OKLCHoklch(37.52% 0.113 142.2)
XYZxyz(3.1245, 5.7519, 1.3609)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F0E #4B0E4F
analogous
#324F0E #124F0E #0E4F2A
triadic
#124F0E #0E124F #4F0E12
tetradic
#124F0E #0E324F #4B0E4F #4F2A0E
square
#124F0E #0E324F #4B0E4F #4F2A0E
split-complementary
#124F0E #2A0E4F #4F0E32
monochromatic
#061A05 #061B05 #124F0E #1E8317 #2AB720

Accessibility & contrast

On white

9.77
#124F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124F0E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F0E#FFFFFF#000000##FFFFFF
##124F0E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514703
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#034C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f0e;
/* rgb */ color: rgb(18, 79, 14);
/* oklch */ color: oklch(37.5% 0.113 142.2);
Tailwind
colors: {
  custom: {
    50: '#5b8152',
    500: '#124f0e',
    950: '#000000',
  },
}
SCSS
$custom: #124f0e;
$custom-light: #5b8152;
$custom-dark: #000000;
JSON
{
  "hex": "#124f0e",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 116.308,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37523,
    "c": 0.11312,
    "h": 142.2
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#124F0E
secondary
#842F8A
accent
#3BEDE2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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