#124205#124205

#124205 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.102 H 140.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#124205
RGBrgb(18, 66, 5)
HSLhsl(107, 86%, 14%)
HSVhsv(107, 92%, 26%)
CMYKcmyk(72.7%, 0%, 92.4%, 74.1%)
CIE-LABlab(23.79, -28.47, 29.50)
CIE-LCHlch(23.79, 41.00, 133.99°)
OKLaboklab(33.37% -0.0782 0.0653)
OKLCHoklch(33.37% 0.102 140.1)
XYZxyz(2.2250, 4.0358, 0.8053)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124205 #350542
analogous
#314205 #124205 #054217
triadic
#124205 #051242 #420512
tetradic
#124205 #053142 #350542 #421705
square
#124205 #053142 #350542 #421705
split-complementary
#124205 #170542 #420531
monochromatic
#081C02 #081C02 #124205 #227B09 #31B40E

Accessibility & contrast

On white

11.62
#124205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#124205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124205
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124205#FFFFFF#000000##FFFFFF
##1242051.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#0A3F37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #124205;
/* rgb */ color: rgb(18, 66, 5);
/* oklch */ color: oklch(33.4% 0.102 140.1);
Tailwind
colors: {
  custom: {
    50: '#58774b',
    500: '#124205',
    950: '#000000',
  },
}
SCSS
$custom: #124205;
$custom-light: #58774b;
$custom-dark: #000000;
JSON
{
  "hex": "#124205",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 107.213,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33367,
    "c": 0.10186,
    "h": 140.1
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#124205
secondary
#6D2082
accent
#2CFCD0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #124205

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

Preview Lab → · Contrast checker → · Palette generator →

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