#6F7F17#6F7F17

#6F7F17 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.4% C 0.123 H 118.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6F7F17
RGBrgb(111, 127, 23)
HSLhsl(69, 69%, 29%)
HSVhsv(69, 82%, 50%)
CMYKcmyk(12.6%, 0%, 81.9%, 50.2%)
CIE-LABlab(50.24, -19.59, 49.71)
CIE-LCHlch(50.24, 53.43, 111.50°)
OKLaboklab(56.44% -0.0589 0.1085)
OKLCHoklch(56.44% 0.123 118.5)
XYZxyz(14.2999, 18.6202, 3.6512)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7F17 #27177F
analogous
#7F5B17 #6F7F17 #3B7F17
triadic
#6F7F17 #176F7F #7F176F
tetradic
#6F7F17 #177F5B #27177F #7F173B
square
#6F7F17 #177F5B #27177F #7F173B
split-complementary
#6F7F17 #173B7F #5B177F
monochromatic
#171A05 #424B0E #6F7F17 #9CB320 #C1DB36

Accessibility & contrast

On white

4.45
#6F7F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6F7F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7F17
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7F17#FFFFFF#000000##000000
##6F7F171.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#76786C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f7f17;
/* rgb */ color: rgb(111, 127, 23);
/* oklch */ color: oklch(56.4% 0.123 118.5);
Tailwind
colors: {
  custom: {
    50: '#9ca45f',
    500: '#6f7f17',
    950: '#000000',
  },
}
SCSS
$custom: #6f7f17;
$custom-light: #9ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7f17",
  "rgb": {
    "r": 111,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 69.231,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.12349,
    "h": 118.5
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#6F7F17
secondary
#503EB4
accent
#3CEC57
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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