#6F7D17#6F7D17

#6F7D17 is a mid, vivid yellow. Relative luminance 0.181; OKLCH L 55.9% C 0.121 H 117.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6F7D17
RGBrgb(111, 125, 23)
HSLhsl(68, 69%, 29%)
HSVhsv(68, 82%, 49%)
CMYKcmyk(11.2%, 0%, 81.6%, 51%)
CIE-LABlab(49.63, -18.54, 49.16)
CIE-LCHlch(49.63, 52.54, 110.66°)
OKLaboklab(55.94% -0.0561 0.1073)
OKLCHoklch(55.94% 0.121 117.6)
XYZxyz(14.0442, 18.1088, 3.5659)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7D17 #25177D
analogous
#7D5817 #6F7D17 #3C7D17
triadic
#6F7D17 #176F7D #7D176F
tetradic
#6F7D17 #177D58 #25177D #7D173C
square
#6F7D17 #177D58 #25177D #7D173C
split-complementary
#6F7D17 #173C7D #58177D
monochromatic
#171A05 #41490D #6F7D17 #9DB121 #C3DA35

Accessibility & contrast

On white

4.54
#6F7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6F7D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7D17
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7D17#FFFFFF#000000##000000
##6F7D171.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#76766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6f7d17;
/* rgb */ color: rgb(111, 125, 23);
/* oklch */ color: oklch(55.9% 0.121 117.6);
Tailwind
colors: {
  custom: {
    50: '#9ca25e',
    500: '#6f7d17',
    950: '#000000',
  },
}
SCSS
$custom: #6f7d17;
$custom-light: #9ca25e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7d17",
  "rgb": {
    "r": 111,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 68.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55943,
    "c": 0.12111,
    "h": 117.6
  },
  "luminance": 0.18109
}

Semantic roles & 50–950 ramp

primary
#6F7D17
secondary
#4E3EB2
accent
#3CEC54
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #6F7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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