#6F8017#6F8017

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

Color values

HEX#6F8017
RGBrgb(111, 128, 23)
HSLhsl(70, 70%, 30%)
HSVhsv(70, 82%, 50%)
CMYKcmyk(13.3%, 0%, 82%, 49.8%)
CIE-LABlab(50.55, -20.10, 49.99)
CIE-LCHlch(50.55, 53.88, 111.91°)
OKLaboklab(56.68% -0.0604 0.1091)
OKLCHoklch(56.68% 0.125 119)
XYZxyz(14.4297, 18.8798, 3.6945)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8017 #281780
analogous
#805C17 #6F8017 #3B8017
triadic
#6F8017 #176F80 #80176F
tetradic
#6F8017 #17805C #281780 #80173B
square
#6F8017 #17805C #281780 #80173B
split-complementary
#6F8017 #173B80 #5C1780
monochromatic
#161A05 #424C0E #6F8017 #9CB420 #C0DB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F8017#FFFFFF#000000##000000
##6F80171.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)
#877922
Tritanopia (blue-blind)
#76796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f8017;
/* rgb */ color: rgb(111, 128, 23);
/* oklch */ color: oklch(56.7% 0.125 119.0);
Tailwind
colors: {
  custom: {
    50: '#9ca45f',
    500: '#6f8017',
    950: '#000000',
  },
}
SCSS
$custom: #6f8017;
$custom-light: #9ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8017",
  "rgb": {
    "r": 111,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 69.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.12469,
    "h": 119
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#6F8017
secondary
#513EB4
accent
#3BEC58
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8017

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

Preview Lab → · Contrast checker → · Palette generator →

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