#7F6E14#7F6E14

#7F6E14 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.9% C 0.104 H 97.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F6E14
RGBrgb(127, 110, 20)
HSLhsl(50, 73%, 29%)
HSVhsv(50, 84%, 50%)
CMYKcmyk(0%, 13.4%, 84.3%, 50.2%)
CIE-LABlab(46.60, -2.93, 47.97)
CIE-LCHlch(46.60, 48.06, 93.50°)
OKLaboklab(53.87% -0.0137 0.1035)
OKLCHoklch(53.87% 0.104 97.6)
XYZxyz(14.4554, 15.7152, 2.9336)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6E14 #14257F
analogous
#7F3914 #7F6E14 #5B7F14
triadic
#7F6E14 #147F6E #6E147F
tetradic
#7F6E14 #147F39 #14257F #7F145B
square
#7F6E14 #147F39 #14257F #7F145B
split-complementary
#7F6E14 #145B7F #39147F
monochromatic
#1A1704 #4A400C #7F6E14 #B49C1C #DEC22F

Accessibility & contrast

On white

5.07
#7F6E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7F6E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6E14
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6E14#FFFFFF#000000##FFFFFF
##7F6E141.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7F711B
Tritanopia (blue-blind)
#8A655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f6e14;
/* rgb */ color: rgb(127, 110, 20);
/* oklch */ color: oklch(53.9% 0.104 97.6);
Tailwind
colors: {
  custom: {
    50: '#a8975b',
    500: '#7f6e14',
    950: '#000000',
  },
}
SCSS
$custom: #7f6e14;
$custom-light: #a8975b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6e14",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 20
  },
  "hsl": {
    "h": 50.467,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.10436,
    "h": 97.6
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#7F6E14
secondary
#3B4EB4
accent
#55EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6E14

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

Preview Lab → · Contrast checker → · Palette generator →

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