#7F7116#7F7116

#7F7116 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.106 H 99.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7F7116
RGBrgb(127, 113, 22)
HSLhsl(52, 70%, 29%)
HSVhsv(52, 83%, 50%)
CMYKcmyk(0%, 11%, 82.7%, 50.2%)
CIE-LABlab(47.47, -4.57, 48.09)
CIE-LCHlch(47.47, 48.31, 95.42°)
OKLaboklab(54.56% -0.0181 0.1041)
OKLCHoklch(54.56% 0.106 99.9)
XYZxyz(14.8031, 16.3809, 3.1410)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7116 #16247F
analogous
#7F3D16 #7F7116 #597F16
triadic
#7F7116 #167F71 #71167F
tetradic
#7F7116 #167F3D #16247F #7F1659
square
#7F7116 #167F3D #16247F #7F1659
split-complementary
#7F7116 #16597F #3D167F
monochromatic
#1A1705 #4B430D #7F7116 #B39F1F #DCC534

Accessibility & contrast

On white

4.91
#7F7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7F7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7116
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7116#FFFFFF#000000##FFFFFF
##7F71161.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#8A6860
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f7116;
/* rgb */ color: rgb(127, 113, 22);
/* oklch */ color: oklch(54.6% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#a8995d',
    500: '#7f7116',
    950: '#000000',
  },
}
SCSS
$custom: #7f7116;
$custom-light: #a8995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7116",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 52,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54562,
    "c": 0.10571,
    "h": 99.9
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#7F7116
secondary
#3D4DB4
accent
#52ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F7116

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

Preview Lab → · Contrast checker → · Palette generator →

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