#7F7429#7F7429

#7F7429 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.096 H 100.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7F7429
RGBrgb(127, 116, 41)
HSLhsl(52, 51%, 33%)
HSVhsv(52, 68%, 50%)
CMYKcmyk(0%, 8.7%, 67.7%, 50.2%)
CIE-LABlab(48.47, -5.29, 41.49)
CIE-LCHlch(48.47, 41.83, 97.27°)
OKLaboklab(55.39% -0.0181 0.0939)
OKLCHoklch(55.39% 0.096 100.9)
XYZxyz(15.3987, 17.1636, 4.5992)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7429 #29347F
analogous
#7F4929 #7F7429 #5F7F29
triadic
#7F7429 #297F74 #74297F
tetradic
#7F7429 #297F49 #29347F #7F295F
square
#7F7429 #297F49 #29347F #7F295F
split-complementary
#7F7429 #295F7F #49297F
monochromatic
#221F0B #514A1A #7F7429 #AD9E38 #C9BB59

Accessibility & contrast

On white

4.74
#7F7429 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7F7429 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7429
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7429#FFFFFF#000000##FFFFFF
##7F74291.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#896C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f7429;
/* rgb */ color: rgb(127, 116, 41);
/* oklch */ color: oklch(55.4% 0.096 100.9);
Tailwind
colors: {
  custom: {
    50: '#a79b67',
    500: '#7f7429',
    950: '#000000',
  },
}
SCSS
$custom: #7f7429;
$custom-light: #a79b67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7429",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 41
  },
  "hsl": {
    "h": 52.326,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.09562,
    "h": 100.9
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#7F7429
secondary
#5561AF
accent
#5FDB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7429

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

Preview Lab → · Contrast checker → · Palette generator →

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