#7F752A#7F752A

#7F752A is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.096 H 101.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7F752A
RGBrgb(127, 117, 42)
HSLhsl(53, 50%, 33%)
HSVhsv(53, 67%, 50%)
CMYKcmyk(0%, 7.9%, 66.9%, 50.2%)
CIE-LABlab(48.76, -5.79, 41.35)
CIE-LCHlch(48.76, 41.75, 97.97°)
OKLaboklab(55.63% -0.0194 0.0938)
OKLCHoklch(55.63% 0.096 101.7)
XYZxyz(15.5322, 17.4024, 4.7309)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F752A #2A347F
analogous
#7F4A2A #7F752A #5E7F2A
triadic
#7F752A #2A7F75 #752A7F
tetradic
#7F752A #2A7F4A #2A347F #7F2A5E
square
#7F752A #2A7F4A #2A347F #7F2A5E
split-complementary
#7F752A #2A5E7F #4A2A7F
monochromatic
#23200C #514B1B #7F752A #AD9F39 #C9BC5B

Accessibility & contrast

On white

4.69
#7F752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7F752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F752A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F752A#FFFFFF#000000##FFFFFF
##7F752A1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807121
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f752a;
/* rgb */ color: rgb(127, 117, 42);
/* oklch */ color: oklch(55.6% 0.096 101.7);
Tailwind
colors: {
  custom: {
    50: '#a79c68',
    500: '#7f752a',
    950: '#000000',
  },
}
SCSS
$custom: #7f752a;
$custom-light: #a79c68;
$custom-dark: #000000;
JSON
{
  "hex": "#7f752a",
  "rgb": {
    "r": 127,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 52.941,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.09574,
    "h": 101.7
  },
  "luminance": 0.17402
}

Semantic roles & 50–950 ramp

primary
#7F752A
secondary
#5761AE
accent
#5EDA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F752A

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

Preview Lab → · Contrast checker → · Palette generator →

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