#7F792B#7F792B

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

Color values

HEX#7F792B
RGBrgb(127, 121, 43)
HSLhsl(56, 49%, 33%)
HSVhsv(56, 66%, 50%)
CMYKcmyk(0%, 4.7%, 66.1%, 50.2%)
CIE-LABlab(49.93, -7.96, 42.13)
CIE-LCHlch(49.93, 42.87, 100.70°)
OKLaboklab(56.56% -0.0254 0.0956)
OKLCHoklch(56.56% 0.099 104.9)
XYZxyz(16.0264, 18.3618, 4.9850)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F792B #2B317F
analogous
#7F4F2B #7F792B #5B7F2B
triadic
#7F792B #2B7F79 #792B7F
tetradic
#7F792B #2B7F4F #2B317F #7F2B5B
square
#7F792B #2B7F4F #2B317F #7F2B5B
split-complementary
#7F792B #2B5B7F #4F2B7F
monochromatic
#24220C #514D1C #7F792B #ADA53A #C8C05C

Accessibility & contrast

On white

4.49
#7F792B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F792B#FFFFFF#000000##000000
##7F792B1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#837521
Deuteranopia (green-blind)
#867830
Tritanopia (blue-blind)
#887169
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f792b;
/* rgb */ color: rgb(127, 121, 43);
/* oklch */ color: oklch(56.6% 0.099 104.9);
Tailwind
colors: {
  custom: {
    50: '#a79f68',
    500: '#7f792b',
    950: '#000000',
  },
}
SCSS
$custom: #7f792b;
$custom-light: #a79f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7f792b",
  "rgb": {
    "r": 127,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 55.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.09889,
    "h": 104.9
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#7F792B
secondary
#585EAE
accent
#59D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F792B

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

Preview Lab → · Contrast checker → · Palette generator →

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