#7F6714#7F6714

#7F6714 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.100 H 91.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7F6714
RGBrgb(127, 103, 20)
HSLhsl(47, 73%, 29%)
HSVhsv(47, 84%, 50%)
CMYKcmyk(0%, 18.9%, 84.3%, 50.2%)
CIE-LABlab(44.61, 1.10, 46.24)
CIE-LCHlch(44.61, 46.25, 88.63°)
OKLaboklab(52.3% -0.0023 0.0997)
OKLCHoklch(52.3% 0.1 91.3)
XYZxyz(13.7297, 14.2639, 2.6917)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6714 #142C7F
analogous
#7F3214 #7F6714 #627F14
triadic
#7F6714 #147F67 #67147F
tetradic
#7F6714 #147F32 #142C7F #7F1462
square
#7F6714 #147F32 #142C7F #7F1462
split-complementary
#7F6714 #14627F #32147F
monochromatic
#1A1504 #4A3C0C #7F6714 #B4921C #DEB72F

Accessibility & contrast

On white

5.45
#7F6714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7F6714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6714
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6714#FFFFFF#000000##FFFFFF
##7F67141.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#7A6C1A
Tritanopia (blue-blind)
#8A5D58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f6714;
/* rgb */ color: rgb(127, 103, 20);
/* oklch */ color: oklch(52.3% 0.100 91.3);
Tailwind
colors: {
  custom: {
    50: '#a8925a',
    500: '#7f6714',
    950: '#000000',
  },
}
SCSS
$custom: #7f6714;
$custom-light: #a8925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6714",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 46.542,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52295,
    "c": 0.09971,
    "h": 91.3
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#7F6714
secondary
#3B56B4
accent
#61EF38
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6714

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

Preview Lab → · Contrast checker → · Palette generator →

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