#7F6F15#7F6F15

#7F6F15 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.105 H 98.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7F6F15
RGBrgb(127, 111, 21)
HSLhsl(51, 72%, 29%)
HSVhsv(51, 83%, 50%)
CMYKcmyk(0%, 12.6%, 83.5%, 50.2%)
CIE-LABlab(46.89, -3.47, 47.91)
CIE-LCHlch(46.89, 48.03, 94.14°)
OKLaboklab(54.1% -0.0151 0.1035)
OKLCHoklch(54.1% 0.105 98.3)
XYZxyz(14.5730, 15.9358, 3.0176)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6F15 #15257F
analogous
#7F3A15 #7F6F15 #5A7F15
triadic
#7F6F15 #157F6F #6F157F
tetradic
#7F6F15 #157F3A #15257F #7F155A
square
#7F6F15 #157F3A #15257F #7F155A
split-complementary
#7F6F15 #155A7F #3A157F
monochromatic
#1A1704 #4A410C #7F6F15 #B49D1E #DDC331

Accessibility & contrast

On white

5.02
#7F6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7F6F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6F15
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6F15#FFFFFF#000000##FFFFFF
##7F6F151.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7F721C
Tritanopia (blue-blind)
#8A665F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f6f15;
/* rgb */ color: rgb(127, 111, 21);
/* oklch */ color: oklch(54.1% 0.105 98.3);
Tailwind
colors: {
  custom: {
    50: '#a8985c',
    500: '#7f6f15',
    950: '#000000',
  },
}
SCSS
$custom: #7f6f15;
$custom-light: #a8985c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6f15",
  "rgb": {
    "r": 127,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 50.943,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.541,
    "c": 0.10462,
    "h": 98.3
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#7F6F15
secondary
#3C4EB4
accent
#55EE39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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