#6D8418#6D8418

#6D8418 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.5% C 0.130 H 121.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6D8418
RGBrgb(109, 132, 24)
HSLhsl(73, 69%, 31%)
HSVhsv(73, 82%, 52%)
CMYKcmyk(17.4%, 0%, 81.8%, 48.2%)
CIE-LABlab(51.63, -22.99, 50.60)
CIE-LCHlch(51.63, 55.58, 114.44°)
OKLaboklab(57.52% -0.0681 0.1107)
OKLCHoklch(57.52% 0.13 121.6)
XYZxyz(14.7231, 19.8197, 3.9139)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8418 #2F1884
analogous
#846518 #6D8418 #378418
triadic
#6D8418 #186D84 #84186D
tetradic
#6D8418 #188465 #2F1884 #841837
square
#6D8418 #188465 #2F1884 #841837
split-complementary
#6D8418 #183784 #651884
monochromatic
#171C05 #42500F #6D8418 #98B821 #B9DB3B

Accessibility & contrast

On white

4.23
#6D8418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6D8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8418
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8418#FFFFFF#000000##000000
##6D84181.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C00
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#737D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6d8418;
/* rgb */ color: rgb(109, 132, 24);
/* oklch */ color: oklch(57.5% 0.130 121.6);
Tailwind
colors: {
  custom: {
    50: '#9aa760',
    500: '#6d8418',
    950: '#000000',
  },
}
SCSS
$custom: #6d8418;
$custom-light: #9aa760;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8418",
  "rgb": {
    "r": 109,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 72.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57522,
    "c": 0.12992,
    "h": 121.6
  },
  "luminance": 0.1982
}

Semantic roles & 50–950 ramp

primary
#6D8418
secondary
#5940B8
accent
#3CEC61
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8418

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

Preview Lab → · Contrast checker → · Palette generator →

#6D8418 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva