#6F7917#6F7917

#6F7917 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.0% C 0.116 H 115.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6F7917
RGBrgb(111, 121, 23)
HSLhsl(66, 68%, 28%)
HSVhsv(66, 81%, 47%)
CMYKcmyk(8.3%, 0%, 81%, 52.5%)
CIE-LABlab(48.41, -16.43, 48.06)
CIE-LCHlch(48.41, 50.79, 108.87°)
OKLaboklab(54.96% -0.0503 0.105)
OKLCHoklch(54.96% 0.116 115.6)
XYZxyz(13.5480, 17.1163, 3.4005)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7917 #211779
analogous
#795217 #6F7917 #3E7917
triadic
#6F7917 #176F79 #79176F
tetradic
#6F7917 #177952 #211779 #79173E
square
#6F7917 #177952 #211779 #79173E
split-complementary
#6F7917 #173E79 #521779
monochromatic
#181A05 #40460D #6F7917 #9EAC21 #C7D832

Accessibility & contrast

On white

4.75
#6F7917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6F7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7917
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7917#FFFFFF#000000##FFFFFF
##6F79171.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#817420
Tritanopia (blue-blind)
#777267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f7917;
/* rgb */ color: rgb(111, 121, 23);
/* oklch */ color: oklch(55.0% 0.116 115.6);
Tailwind
colors: {
  custom: {
    50: '#9b9f5e',
    500: '#6f7917',
    950: '#000000',
  },
}
SCSS
$custom: #6f7917;
$custom-light: #9b9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7917",
  "rgb": {
    "r": 111,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 66.122,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54961,
    "c": 0.11641,
    "h": 115.6
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#6F7917
secondary
#493EAE
accent
#3DEB4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7917

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

Preview Lab → · Contrast checker → · Palette generator →

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