#7F791D#7F791D

#7F791D is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.109 H 105.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F791D
RGBrgb(127, 121, 29)
HSLhsl(56, 63%, 31%)
HSVhsv(56, 77%, 50%)
CMYKcmyk(0%, 4.7%, 77.2%, 50.2%)
CIE-LABlab(49.83, -8.75, 47.82)
CIE-LCHlch(49.83, 48.61, 100.38°)
OKLaboklab(56.45% -0.0292 0.105)
OKLCHoklch(56.45% 0.109 105.6)
XYZxyz(15.8122, 18.2761, 3.8569)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F791D #1D237F
analogous
#7F481D #7F791D #547F1D
triadic
#7F791D #1D7F79 #791D7F
tetradic
#7F791D #1D7F48 #1D237F #7F1D54
square
#7F791D #1D7F48 #1D237F #7F1D54
split-complementary
#7F791D #1D547F #481D7F
monochromatic
#1B1A06 #4D4A12 #7F791D #B1A828 #D4CB42

Accessibility & contrast

On white

4.51
#7F791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7F791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F791D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F791D#FFFFFF#000000##000000
##7F791D1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740A
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#897067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f791d;
/* rgb */ color: rgb(127, 121, 29);
/* oklch */ color: oklch(56.4% 0.109 105.6);
Tailwind
colors: {
  custom: {
    50: '#a79f61',
    500: '#7f791d',
    950: '#000000',
  },
}
SCSS
$custom: #7f791d;
$custom-light: #a79f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f791d",
  "rgb": {
    "r": 127,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 56.327,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56449,
    "c": 0.109,
    "h": 105.6
  },
  "luminance": 0.18275
}

Semantic roles & 50–950 ramp

primary
#7F791D
secondary
#454CB2
accent
#4CE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F791D

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

Preview Lab → · Contrast checker → · Palette generator →

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