#6F8016#6F8016

#6F8016 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.7% C 0.125 H 118.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6F8016
RGBrgb(111, 128, 22)
HSLhsl(70, 71%, 29%)
HSVhsv(70, 83%, 50%)
CMYKcmyk(13.3%, 0%, 82.8%, 49.8%)
CIE-LABlab(50.54, -20.15, 50.28)
CIE-LCHlch(50.54, 54.17, 111.83°)
OKLaboklab(56.68% -0.0606 0.1095)
OKLCHoklch(56.68% 0.125 118.9)
XYZxyz(14.4199, 18.8759, 3.6427)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8016 #271680
analogous
#805C16 #6F8016 #3A8016
triadic
#6F8016 #166F80 #80166F
tetradic
#6F8016 #16805C #271680 #80163A
square
#6F8016 #16805C #271680 #80163A
split-complementary
#6F8016 #163A80 #5C1680
monochromatic
#171A04 #424C0D #6F8016 #9CB41F #C1DC34

Accessibility & contrast

On white

4.40
#6F8016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#6F8016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8016
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8016#FFFFFF#000000##000000
##6F80161.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#76796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f8016;
/* rgb */ color: rgb(111, 128, 22);
/* oklch */ color: oklch(56.7% 0.125 118.9);
Tailwind
colors: {
  custom: {
    50: '#9ca45e',
    500: '#6f8016',
    950: '#000000',
  },
}
SCSS
$custom: #6f8016;
$custom-light: #9ca45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8016",
  "rgb": {
    "r": 111,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 69.623,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.12517,
    "h": 118.9
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#6F8016
secondary
#503DB5
accent
#3AED57
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8016

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

Preview Lab → · Contrast checker → · Palette generator →

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