#7F7329#7F7329

#7F7329 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.2% C 0.095 H 100.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7F7329
RGBrgb(127, 115, 41)
HSLhsl(52, 51%, 33%)
HSVhsv(52, 68%, 50%)
CMYKcmyk(0%, 9.4%, 67.7%, 50.2%)
CIE-LABlab(48.18, -4.73, 41.19)
CIE-LCHlch(48.18, 41.46, 96.55°)
OKLaboklab(55.16% -0.0165 0.0933)
OKLCHoklch(55.16% 0.095 100)
XYZxyz(15.2840, 16.9343, 4.5610)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7329 #29357F
analogous
#7F4829 #7F7329 #607F29
triadic
#7F7329 #297F73 #73297F
tetradic
#7F7329 #297F48 #29357F #7F2960
square
#7F7329 #297F48 #29357F #7F2960
split-complementary
#7F7329 #29607F #48297F
monochromatic
#221F0B #51491A #7F7329 #AD9D38 #C9BA59

Accessibility & contrast

On white

4.79
#7F7329 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7F7329 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7329
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7329#FFFFFF#000000##FFFFFF
##7F73291.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#896B64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f7329;
/* rgb */ color: rgb(127, 115, 41);
/* oklch */ color: oklch(55.2% 0.095 100.0);
Tailwind
colors: {
  custom: {
    50: '#a79b67',
    500: '#7f7329',
    950: '#000000',
  },
}
SCSS
$custom: #7f7329;
$custom-light: #a79b67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7329",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 41
  },
  "hsl": {
    "h": 51.628,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.0947,
    "h": 100
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#7F7329
secondary
#5562AF
accent
#61DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7329

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

Preview Lab → · Contrast checker → · Palette generator →

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