#7F752F#7F752F

#7F752F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.7% C 0.091 H 101.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7F752F
RGBrgb(127, 117, 47)
HSLhsl(53, 46%, 34%)
HSVhsv(53, 63%, 50%)
CMYKcmyk(0%, 7.9%, 63%, 50.2%)
CIE-LABlab(48.81, -5.44, 39.03)
CIE-LCHlch(48.81, 39.41, 97.93°)
OKLaboklab(55.68% -0.0178 0.0896)
OKLCHoklch(55.68% 0.091 101.2)
XYZxyz(15.6274, 17.4405, 5.2320)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F752F #2F397F
analogous
#7F4D2F #7F752F #617F2F
triadic
#7F752F #2F7F75 #752F7F
tetradic
#7F752F #2F7F4D #2F397F #7F2F61
square
#7F752F #2F7F4D #2F397F #7F2F61
split-complementary
#7F752F #2F617F #4D2F7F
monochromatic
#26230E #524C1E #7F752F #AC9E40 #C5B963

Accessibility & contrast

On white

4.68
#7F752F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7F752F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F752F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F752F#FFFFFF#000000##FFFFFF
##7F752F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7227
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#886D66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f752f;
/* rgb */ color: rgb(127, 117, 47);
/* oklch */ color: oklch(55.7% 0.091 101.2);
Tailwind
colors: {
  custom: {
    50: '#a69c6b',
    500: '#7f752f',
    950: '#000000',
  },
}
SCSS
$custom: #7f752f;
$custom-light: #a69c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f752f",
  "rgb": {
    "r": 127,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 52.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.09136,
    "h": 101.2
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#7F752F
secondary
#5E67AC
accent
#63D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7F752F

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

Preview Lab → · Contrast checker → · Palette generator →

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