#7F6513#7F6513

#7F6513 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.099 H 89.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7F6513
RGBrgb(127, 101, 19)
HSLhsl(46, 74%, 29%)
HSVhsv(46, 85%, 50%)
CMYKcmyk(0%, 20.5%, 85%, 50.2%)
CIE-LABlab(44.04, 2.23, 46.07)
CIE-LCHlch(44.04, 46.13, 87.23°)
OKLaboklab(51.85% 0.0008 0.0991)
OKLCHoklch(51.85% 0.099 89.5)
XYZxyz(13.5245, 13.8673, 2.5803)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6513 #132D7F
analogous
#7F2F13 #7F6513 #637F13
triadic
#7F6513 #137F65 #65137F
tetradic
#7F6513 #137F2F #132D7F #7F1363
square
#7F6513 #137F2F #132D7F #7F1363
split-complementary
#7F6513 #13637F #2F137F
monochromatic
#1B1504 #4A3B0B #7F6513 #B48F1B #E0B52D

Accessibility & contrast

On white

5.57
#7F6513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7F6513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6513
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6513#FFFFFF#000000##FFFFFF
##7F65131.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#786B18
Tritanopia (blue-blind)
#8A5B56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f6513;
/* rgb */ color: rgb(127, 101, 19);
/* oklch */ color: oklch(51.8% 0.099 89.5);
Tailwind
colors: {
  custom: {
    50: '#a8905a',
    500: '#7f6513',
    950: '#000000',
  },
}
SCSS
$custom: #7f6513;
$custom-light: #a8905a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6513",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 45.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.0991,
    "h": 89.5
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#7F6513
secondary
#3957B4
accent
#64F137
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6513

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

Preview Lab → · Contrast checker → · Palette generator →

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