#7F7722#7F7722

#7F7722 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.104 H 103.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7F7722
RGBrgb(127, 119, 34)
HSLhsl(55, 58%, 32%)
HSVhsv(55, 73%, 50%)
CMYKcmyk(0%, 6.3%, 73.2%, 50.2%)
CIE-LABlab(49.28, -7.39, 45.36)
CIE-LCHlch(49.28, 45.95, 99.26°)
OKLaboklab(56.02% -0.0249 0.1008)
OKLCHoklch(56.02% 0.104 103.9)
XYZxyz(15.6386, 17.8218, 4.1293)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7722 #222A7F
analogous
#7F4922 #7F7722 #597F22
triadic
#7F7722 #227F77 #77227F
tetradic
#7F7722 #227F49 #222A7F #7F2259
square
#7F7722 #227F49 #222A7F #7F2259
split-complementary
#7F7722 #22597F #49227F
monochromatic
#1E1D08 #4F4A15 #7F7722 #AFA42F #CFC44C

Accessibility & contrast

On white

4.60
#7F7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7F7722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7722
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7722#FFFFFF#000000##FFFFFF
##7F77221.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827314
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#896E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7722;
/* rgb */ color: rgb(127, 119, 34);
/* oklch */ color: oklch(56.0% 0.104 103.9);
Tailwind
colors: {
  custom: {
    50: '#a79e63',
    500: '#7f7722',
    950: '#000000',
  },
}
SCSS
$custom: #7f7722;
$custom-light: #a79e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7722",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 54.839,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.10381,
    "h": 103.9
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#7F7722
secondary
#4B54B2
accent
#54E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7722

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

Preview Lab → · Contrast checker → · Palette generator →

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