#6F8418#6F8418

#6F8418 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.7% C 0.129 H 120.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6F8418
RGBrgb(111, 132, 24)
HSLhsl(72, 69%, 31%)
HSVhsv(72, 82%, 52%)
CMYKcmyk(15.9%, 0%, 81.8%, 48.2%)
CIE-LABlab(51.78, -22.11, 50.79)
CIE-LCHlch(51.78, 55.39, 113.53°)
OKLaboklab(57.68% -0.0658 0.111)
OKLCHoklch(57.68% 0.129 120.7)
XYZxyz(14.9720, 19.9480, 3.9256)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8418 #2D1884
analogous
#846318 #6F8418 #398418
triadic
#6F8418 #186F84 #84186F
tetradic
#6F8418 #188463 #2D1884 #841839
square
#6F8418 #188463 #2D1884 #841839
split-complementary
#6F8418 #183984 #631884
monochromatic
#181C05 #43500F #6F8418 #9BB821 #BCDB3B

Accessibility & contrast

On white

4.21
#6F8418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6F8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8418
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8418#FFFFFF#000000##000000
##6F84181.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#767D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6f8418;
/* rgb */ color: rgb(111, 132, 24);
/* oklch */ color: oklch(57.7% 0.129 120.7);
Tailwind
colors: {
  custom: {
    50: '#9ca760',
    500: '#6f8418',
    950: '#000000',
  },
}
SCSS
$custom: #6f8418;
$custom-light: #9ca760;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8418",
  "rgb": {
    "r": 111,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 71.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.12903,
    "h": 120.7
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#6F8418
secondary
#5740B8
accent
#3CEC5E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8418

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

Preview Lab → · Contrast checker → · Palette generator →

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