#7F7322#7F7322

#7F7322 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.100 H 100.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7F7322
RGBrgb(127, 115, 34)
HSLhsl(52, 58%, 32%)
HSVhsv(52, 73%, 50%)
CMYKcmyk(0%, 9.4%, 73.2%, 50.2%)
CIE-LABlab(48.12, -5.15, 44.21)
CIE-LCHlch(48.12, 44.51, 96.64°)
OKLaboklab(55.1% -0.0185 0.0984)
OKLCHoklch(55.1% 0.1 100.7)
XYZxyz(15.1726, 16.8897, 3.9739)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7322 #222E7F
analogous
#7F4522 #7F7322 #5D7F22
triadic
#7F7322 #227F73 #73227F
tetradic
#7F7322 #227F45 #222E7F #7F225D
square
#7F7322 #227F45 #222E7F #7F225D
split-complementary
#7F7322 #225D7F #45227F
monochromatic
#1E1C08 #4F4715 #7F7322 #AF9F2F #CFBE4C

Accessibility & contrast

On white

4.80
#7F7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7F7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7322
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7322#FFFFFF#000000##FFFFFF
##7F73221.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7015
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#896A63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f7322;
/* rgb */ color: rgb(127, 115, 34);
/* oklch */ color: oklch(55.1% 0.100 100.7);
Tailwind
colors: {
  custom: {
    50: '#a79b63',
    500: '#7f7322',
    950: '#000000',
  },
}
SCSS
$custom: #7f7322;
$custom-light: #a79b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7322",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 52.258,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.10009,
    "h": 100.7
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#7F7322
secondary
#4B58B2
accent
#5BE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7F7322

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

Preview Lab → · Contrast checker → · Palette generator →

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