#7F6D14#7F6D14

#7F6D14 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.6% C 0.104 H 96.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7F6D14
RGBrgb(127, 109, 20)
HSLhsl(50, 73%, 29%)
HSVhsv(50, 84%, 50%)
CMYKcmyk(0%, 14.2%, 84.3%, 50.2%)
CIE-LABlab(46.31, -2.36, 47.72)
CIE-LCHlch(46.31, 47.78, 92.83°)
OKLaboklab(53.64% -0.0121 0.1029)
OKLCHoklch(53.64% 0.104 96.7)
XYZxyz(14.3481, 15.5006, 2.8979)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6D14 #14267F
analogous
#7F3814 #7F6D14 #5C7F14
triadic
#7F6D14 #147F6D #6D147F
tetradic
#7F6D14 #147F38 #14267F #7F145C
square
#7F6D14 #147F38 #14267F #7F145C
split-complementary
#7F6D14 #145C7F #38147F
monochromatic
#1A1704 #4A400C #7F6D14 #B49A1C #DEC12F

Accessibility & contrast

On white

5.12
#7F6D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7F6D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6D14
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6D14#FFFFFF#000000##FFFFFF
##7F6D141.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7E701B
Tritanopia (blue-blind)
#8A645D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f6d14;
/* rgb */ color: rgb(127, 109, 20);
/* oklch */ color: oklch(53.6% 0.104 96.7);
Tailwind
colors: {
  custom: {
    50: '#a8965b',
    500: '#7f6d14',
    950: '#000000',
  },
}
SCSS
$custom: #7f6d14;
$custom-light: #a8965b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6d14",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 49.907,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.10362,
    "h": 96.7
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#7F6D14
secondary
#3B4FB4
accent
#57EF38
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6D14

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

Preview Lab → · Contrast checker → · Palette generator →

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