#7F7422#7F7422

#7F7422 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.101 H 101.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7F7422
RGBrgb(127, 116, 34)
HSLhsl(53, 58%, 32%)
HSVhsv(53, 73%, 50%)
CMYKcmyk(0%, 8.7%, 73.2%, 50.2%)
CIE-LABlab(48.41, -5.71, 44.50)
CIE-LCHlch(48.41, 44.86, 97.32°)
OKLaboklab(55.33% -0.0201 0.099)
OKLCHoklch(55.33% 0.101 101.5)
XYZxyz(15.2872, 17.1190, 4.0121)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7422 #222D7F
analogous
#7F4622 #7F7422 #5C7F22
triadic
#7F7422 #227F74 #74227F
tetradic
#7F7422 #227F46 #222D7F #7F225C
square
#7F7422 #227F46 #222D7F #7F225C
split-complementary
#7F7422 #225C7F #46227F
monochromatic
#1E1C08 #4F4815 #7F7422 #AFA02F #CFC04C

Accessibility & contrast

On white

4.75
#7F7422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7F7422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7422
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7422#FFFFFF#000000##FFFFFF
##7F74221.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7015
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#896B64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f7422;
/* rgb */ color: rgb(127, 116, 34);
/* oklch */ color: oklch(55.3% 0.101 101.5);
Tailwind
colors: {
  custom: {
    50: '#a79b63',
    500: '#7f7422',
    950: '#000000',
  },
}
SCSS
$custom: #7f7422;
$custom-light: #a79b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7422",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 52.903,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55331,
    "c": 0.10099,
    "h": 101.5
  },
  "luminance": 0.17118
}

Semantic roles & 50–950 ramp

primary
#7F7422
secondary
#4B57B2
accent
#59E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7F7422

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

Preview Lab → · Contrast checker → · Palette generator →

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