#6F7F11#6F7F11

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

Color values

HEX#6F7F11
RGBrgb(111, 127, 17)
HSLhsl(69, 76%, 28%)
HSVhsv(69, 87%, 50%)
CMYKcmyk(12.6%, 0%, 86.6%, 50.2%)
CIE-LABlab(50.21, -19.81, 51.37)
CIE-LCHlch(50.21, 55.06, 111.09°)
OKLaboklab(56.41% -0.06 0.111)
OKLCHoklch(56.41% 0.126 118.4)
XYZxyz(14.2464, 18.5989, 3.3696)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7F11 #21117F
analogous
#7F5811 #6F7F11 #387F11
triadic
#6F7F11 #116F7F #7F116F
tetradic
#6F7F11 #117F58 #21117F #7F1138
square
#6F7F11 #117F58 #21117F #7F1138
split-complementary
#6F7F11 #11387F #58117F
monochromatic
#181B04 #40490A #6F7F11 #9EB518 #C7E228

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7F11#FFFFFF#000000##000000
##6F7F111.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)
#86781E
Tritanopia (blue-blind)
#76776C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6f7f11;
/* rgb */ color: rgb(111, 127, 17);
/* oklch */ color: oklch(56.4% 0.126 118.4);
Tailwind
colors: {
  custom: {
    50: '#9ca45c',
    500: '#6f7f11',
    950: '#000000',
  },
}
SCSS
$custom: #6f7f11;
$custom-light: #9ca45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7f11",
  "rgb": {
    "r": 111,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 68.727,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.12616,
    "h": 118.4
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#6F7F11
secondary
#4937B5
accent
#35F350
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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