#7F701D#7F701D

#7F701D is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.4% C 0.101 H 98.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7F701D
RGBrgb(127, 112, 29)
HSLhsl(51, 63%, 31%)
HSVhsv(51, 77%, 50%)
CMYKcmyk(0%, 11.8%, 77.2%, 50.2%)
CIE-LABlab(47.22, -3.70, 45.36)
CIE-LCHlch(47.22, 45.51, 94.67°)
OKLaboklab(54.38% -0.015 0.0998)
OKLCHoklch(54.38% 0.101 98.6)
XYZxyz(14.7691, 16.1898, 3.5092)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F701D #1D2C7F
analogous
#7F3F1D #7F701D #5D7F1D
triadic
#7F701D #1D7F70 #701D7F
tetradic
#7F701D #1D7F3F #1D2C7F #7F1D5D
square
#7F701D #1D7F3F #1D2C7F #7F1D5D
split-complementary
#7F701D #1D5D7F #3F1D7F
monochromatic
#1B1806 #4D4412 #7F701D #B19C28 #D4BE42

Accessibility & contrast

On white

4.96
#7F701D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7F701D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F701D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F701D#FFFFFF#000000##FFFFFF
##7F701D1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#896760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7f701d;
/* rgb */ color: rgb(127, 112, 29);
/* oklch */ color: oklch(54.4% 0.101 98.6);
Tailwind
colors: {
  custom: {
    50: '#a79860',
    500: '#7f701d',
    950: '#000000',
  },
}
SCSS
$custom: #7f701d;
$custom-light: #a79860;
$custom-dark: #000000;
JSON
{
  "hex": "#7f701d",
  "rgb": {
    "r": 127,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 50.816,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.1009,
    "h": 98.6
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

primary
#7F701D
secondary
#4556B2
accent
#5BE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F701D

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

Preview Lab → · Contrast checker → · Palette generator →

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