#7F791E#7F791E

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

Color values

HEX#7F791E
RGBrgb(127, 121, 30)
HSLhsl(56, 62%, 31%)
HSVhsv(56, 76%, 50%)
CMYKcmyk(0%, 4.7%, 76.4%, 50.2%)
CIE-LABlab(49.84, -8.71, 47.45)
CIE-LCHlch(49.84, 48.24, 100.40°)
OKLaboklab(56.46% -0.029 0.1044)
OKLCHoklch(56.46% 0.108 105.5)
XYZxyz(15.8248, 18.2811, 3.9231)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F791E #1E247F
analogous
#7F481E #7F791E #547F1E
triadic
#7F791E #1E7F79 #791E7F
tetradic
#7F791E #1E7F48 #1E247F #7F1E54
square
#7F791E #1E7F48 #1E247F #7F1E54
split-complementary
#7F791E #1E547F #481E7F
monochromatic
#1C1B07 #4D4A12 #7F791E #B1A82A #D3CA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F791E#FFFFFF#000000##000000
##7F791E1.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)
#84740C
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#897068
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f791e;
/* rgb */ color: rgb(127, 121, 30);
/* oklch */ color: oklch(56.5% 0.108 105.5);
Tailwind
colors: {
  custom: {
    50: '#a79f61',
    500: '#7f791e',
    950: '#000000',
  },
}
SCSS
$custom: #7f791e;
$custom-light: #a79f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f791e",
  "rgb": {
    "r": 127,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 56.289,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.10839,
    "h": 105.5
  },
  "luminance": 0.18281
}

Semantic roles & 50–950 ramp

primary
#7F791E
secondary
#474DB2
accent
#4DE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7F791E

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

Preview Lab → · Contrast checker → · Palette generator →

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