#7F7415#7F7415

#7F7415 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.109 H 102.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7F7415
RGBrgb(127, 116, 21)
HSLhsl(54, 72%, 29%)
HSVhsv(54, 83%, 50%)
CMYKcmyk(0%, 8.7%, 83.5%, 50.2%)
CIE-LABlab(48.33, -6.29, 49.17)
CIE-LCHlch(48.33, 49.57, 97.29°)
OKLaboklab(55.25% -0.0231 0.1063)
OKLCHoklch(55.25% 0.109 102.3)
XYZxyz(15.1339, 17.0576, 3.2046)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7415 #15207F
analogous
#7F3F15 #7F7415 #557F15
triadic
#7F7415 #157F74 #74157F
tetradic
#7F7415 #157F3F #15207F #7F1555
square
#7F7415 #157F3F #15207F #7F1555
split-complementary
#7F7415 #15557F #3F157F
monochromatic
#1A1804 #4A440C #7F7415 #B4A41E #DDCB31

Accessibility & contrast

On white

4.76
#7F7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7F7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7415
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7415#FFFFFF#000000##FFFFFF
##7F74151.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f7415;
/* rgb */ color: rgb(127, 116, 21);
/* oklch */ color: oklch(55.2% 0.109 102.3);
Tailwind
colors: {
  custom: {
    50: '#a89b5d',
    500: '#7f7415',
    950: '#000000',
  },
}
SCSS
$custom: #7f7415;
$custom-light: #a89b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7415",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 53.774,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.10873,
    "h": 102.3
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#7F7415
secondary
#3C48B4
accent
#4CEE39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7415

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

Preview Lab → · Contrast checker → · Palette generator →

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