#7F7316#7F7316

#7F7316 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.107 H 101.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7F7316
RGBrgb(127, 115, 22)
HSLhsl(53, 70%, 29%)
HSVhsv(53, 83%, 50%)
CMYKcmyk(0%, 9.4%, 82.7%, 50.2%)
CIE-LABlab(48.05, -5.69, 48.60)
CIE-LCHlch(48.05, 48.94, 96.68°)
OKLaboklab(55.02% -0.0213 0.1052)
OKLCHoklch(55.02% 0.107 101.5)
XYZxyz(15.0287, 16.8321, 3.2162)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7316 #16227F
analogous
#7F3F16 #7F7316 #577F16
triadic
#7F7316 #167F73 #73167F
tetradic
#7F7316 #167F3F #16227F #7F1657
square
#7F7316 #167F3F #16227F #7F1657
split-complementary
#7F7316 #16577F #3F167F
monochromatic
#1A1805 #4B440D #7F7316 #B3A21F #DCC934

Accessibility & contrast

On white

4.81
#7F7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7F7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7316
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7316#FFFFFF#000000##FFFFFF
##7F73161.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#896A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f7316;
/* rgb */ color: rgb(127, 115, 22);
/* oklch */ color: oklch(55.0% 0.107 101.5);
Tailwind
colors: {
  custom: {
    50: '#a89a5d',
    500: '#7f7316',
    950: '#000000',
  },
}
SCSS
$custom: #7f7316;
$custom-light: #a89a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7316",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 53.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5502,
    "c": 0.10738,
    "h": 101.5
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#7F7316
secondary
#3D4BB4
accent
#4FED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7316

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

Preview Lab → · Contrast checker → · Palette generator →

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