#7F711E#7F711E

#7F711E is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.101 H 99.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7F711E
RGBrgb(127, 113, 30)
HSLhsl(51, 62%, 31%)
HSVhsv(51, 76%, 50%)
CMYKcmyk(0%, 11%, 76.4%, 50.2%)
CIE-LABlab(47.52, -4.22, 45.25)
CIE-LCHlch(47.52, 45.44, 95.33°)
OKLaboklab(54.61% -0.0164 0.0998)
OKLCHoklch(54.61% 0.101 99.3)
XYZxyz(14.8926, 16.4167, 3.6124)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F711E #1E2C7F
analogous
#7F401E #7F711E #5C7F1E
triadic
#7F711E #1E7F71 #711E7F
tetradic
#7F711E #1E7F40 #1E2C7F #7F1E5C
square
#7F711E #1E7F40 #1E2C7F #7F1E5C
split-complementary
#7F711E #1E5C7F #401E7F
monochromatic
#1C1907 #4D4512 #7F711E #B19D2A #D3BE44

Accessibility & contrast

On white

4.90
#7F711E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7F711E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F711E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F711E#FFFFFF#000000##FFFFFF
##7F711E1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0F
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#896861
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f711e;
/* rgb */ color: rgb(127, 113, 30);
/* oklch */ color: oklch(54.6% 0.101 99.3);
Tailwind
colors: {
  custom: {
    50: '#a79960',
    500: '#7f711e',
    950: '#000000',
  },
}
SCSS
$custom: #7f711e;
$custom-light: #a79960;
$custom-dark: #000000;
JSON
{
  "hex": "#7f711e",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 30
  },
  "hsl": {
    "h": 51.34,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.10108,
    "h": 99.3
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#7F711E
secondary
#4756B2
accent
#5AE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F711E

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

Preview Lab → · Contrast checker → · Palette generator →

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