#7F7F11#7F7F11

#7F7F11 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.121 H 109.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7F7F11
RGBrgb(127, 127, 17)
HSLhsl(60, 76%, 28%)
HSVhsv(60, 87%, 50%)
CMYKcmyk(0%, 0%, 86.6%, 50.2%)
CIE-LABlab(51.53, -12.48, 53.01)
CIE-LCHlch(51.53, 54.46, 103.25°)
OKLaboklab(57.79% -0.0406 0.1138)
OKLCHoklch(57.79% 0.121 109.7)
XYZxyz(16.4436, 19.7318, 3.4726)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7F11 #11117F
analogous
#7F4811 #7F7F11 #487F11
triadic
#7F7F11 #117F7F #7F117F
tetradic
#7F7F11 #117F48 #11117F #7F1148
square
#7F7F11 #117F48 #11117F #7F1148
split-complementary
#7F7F11 #11487F #48117F
monochromatic
#1B1B04 #49490A #7F7F11 #B5B518 #E2E228

Accessibility & contrast

On white

4.25
#7F7F11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7F7F11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7F11
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7F11#FFFFFF#000000##000000
##7F7F111.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C1D
Tritanopia (blue-blind)
#89766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f7f11;
/* rgb */ color: rgb(127, 127, 17);
/* oklch */ color: oklch(57.8% 0.121 109.7);
Tailwind
colors: {
  custom: {
    50: '#a8a35d',
    500: '#7f7f11',
    950: '#000000',
  },
}
SCSS
$custom: #7f7f11;
$custom-light: #a8a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7f11",
  "rgb": {
    "r": 127,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.57791,
    "c": 0.12085,
    "h": 109.7
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#7F7F11
secondary
#3737B5
accent
#35F335
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7F7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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