#7F792A#7F792A

#7F792A is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.100 H 105.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7F792A
RGBrgb(127, 121, 42)
HSLhsl(56, 50%, 33%)
HSVhsv(56, 67%, 50%)
CMYKcmyk(0%, 4.7%, 66.9%, 50.2%)
CIE-LABlab(49.92, -8.03, 42.57)
CIE-LCHlch(49.92, 43.32, 100.68°)
OKLaboklab(56.55% -0.0258 0.0963)
OKLCHoklch(56.55% 0.1 105)
XYZxyz(16.0083, 18.3545, 4.8896)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F792A #2A307F
analogous
#7F4E2A #7F792A #5A7F2A
triadic
#7F792A #2A7F79 #792A7F
tetradic
#7F792A #2A7F4E #2A307F #7F2A5A
square
#7F792A #2A7F4E #2A307F #7F2A5A
split-complementary
#7F792A #2A5A7F #4E2A7F
monochromatic
#23210C #514D1B #7F792A #ADA539 #C9C15B

Accessibility & contrast

On white

4.50
#7F792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7F792A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F792A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F792A#FFFFFF#000000##000000
##7F792A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#837520
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#887169
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f792a;
/* rgb */ color: rgb(127, 121, 42);
/* oklch */ color: oklch(56.6% 0.100 105.0);
Tailwind
colors: {
  custom: {
    50: '#a79f68',
    500: '#7f792a',
    950: '#000000',
  },
}
SCSS
$custom: #7f792a;
$custom-light: #a79f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7f792a",
  "rgb": {
    "r": 127,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 55.765,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.09972,
    "h": 105
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#7F792A
secondary
#575DAE
accent
#58DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F792A

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

Preview Lab → · Contrast checker → · Palette generator →

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