#7F7320#7F7320

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

Color values

HEX#7F7320
RGBrgb(127, 115, 32)
HSLhsl(52, 60%, 31%)
HSVhsv(52, 75%, 50%)
CMYKcmyk(0%, 9.4%, 74.8%, 50.2%)
CIE-LABlab(48.11, -5.26, 45.02)
CIE-LCHlch(48.11, 45.32, 96.66°)
OKLaboklab(55.09% -0.0191 0.0997)
OKLCHoklch(55.09% 0.101 100.8)
XYZxyz(15.1445, 16.8785, 3.8264)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7320 #202C7F
analogous
#7F4320 #7F7320 #5B7F20
triadic
#7F7320 #207F73 #73207F
tetradic
#7F7320 #207F43 #202C7F #7F205B
square
#7F7320 #207F43 #202C7F #7F205B
split-complementary
#7F7320 #205B7F #43207F
monochromatic
#1D1A07 #4E4714 #7F7320 #B09F2C #D1C048

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F7320#FFFFFF#000000##FFFFFF
##7F73201.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)
#7E7012
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#896A63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f7320;
/* rgb */ color: rgb(127, 115, 32);
/* oklch */ color: oklch(55.1% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#a79b62',
    500: '#7f7320',
    950: '#000000',
  },
}
SCSS
$custom: #7f7320;
$custom-light: #a79b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7320",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 52.421,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.10148,
    "h": 100.8
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#7F7320
secondary
#4956B2
accent
#59E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7F7320

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

Preview Lab → · Contrast checker → · Palette generator →

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