#7F722B#7F722B

#7F722B is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.092 H 98.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7F722B
RGBrgb(127, 114, 43)
HSLhsl(51, 49%, 33%)
HSVhsv(51, 66%, 50%)
CMYKcmyk(0%, 10.2%, 66.1%, 50.2%)
CIE-LABlab(47.91, -4.03, 39.97)
CIE-LCHlch(47.91, 40.17, 95.76°)
OKLaboklab(54.96% -0.0142 0.091)
OKLCHoklch(54.96% 0.092 98.9)
XYZxyz(15.2064, 16.7218, 4.7117)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F722B #2B387F
analogous
#7F482B #7F722B #627F2B
triadic
#7F722B #2B7F72 #722B7F
tetradic
#7F722B #2B7F48 #2B387F #7F2B62
square
#7F722B #2B7F48 #2B387F #7F2B62
split-complementary
#7F722B #2B627F #482B7F
monochromatic
#24200C #51491C #7F722B #AD9B3A #C8B75C

Accessibility & contrast

On white

4.83
#7F722B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7F722B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F722B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F722B#FFFFFF#000000##FFFFFF
##7F722B1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F23
Deuteranopia (green-blind)
#80742F
Tritanopia (blue-blind)
#896A63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f722b;
/* rgb */ color: rgb(127, 114, 43);
/* oklch */ color: oklch(55.0% 0.092 98.9);
Tailwind
colors: {
  custom: {
    50: '#a79a68',
    500: '#7f722b',
    950: '#000000',
  },
}
SCSS
$custom: #7f722b;
$custom-light: #a79a68;
$custom-dark: #000000;
JSON
{
  "hex": "#7f722b",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 43
  },
  "hsl": {
    "h": 50.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.0921,
    "h": 98.9
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#7F722B
secondary
#5865AE
accent
#64D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F722B

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

Preview Lab → · Contrast checker → · Palette generator →

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