#7E7320#7E7320

#7E7320 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.102 H 101.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7E7320
RGBrgb(126, 115, 32)
HSLhsl(53, 59%, 31%)
HSVhsv(53, 75%, 49%)
CMYKcmyk(0%, 8.7%, 74.6%, 50.6%)
CIE-LABlab(48.01, -5.72, 44.89)
CIE-LCHlch(48.01, 45.25, 97.27°)
OKLaboklab(54.99% -0.0203 0.0994)
OKLCHoklch(54.99% 0.102 101.6)
XYZxyz(14.9963, 16.8020, 3.8194)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7320 #202B7E
analogous
#7E4420 #7E7320 #5A7E20
triadic
#7E7320 #207E73 #73207E
tetradic
#7E7320 #207E44 #202B7E #7E205A
square
#7E7320 #207E44 #202B7E #7E205A
split-complementary
#7E7320 #205A7E #44207E
monochromatic
#1C1A07 #4D4614 #7E7320 #AFA02C #D0C148

Accessibility & contrast

On white

4.82
#7E7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7E7320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7320
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7320#FFFFFF#000000##FFFFFF
##7E73201.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F12
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#886A63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e7320;
/* rgb */ color: rgb(126, 115, 32);
/* oklch */ color: oklch(55.0% 0.102 101.6);
Tailwind
colors: {
  custom: {
    50: '#a69b62',
    500: '#7e7320',
    950: '#000000',
  },
}
SCSS
$custom: #7e7320;
$custom-light: #a69b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7320",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 52.979,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54986,
    "c": 0.1015,
    "h": 101.6
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#7E7320
secondary
#4955B1
accent
#58E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7E7320

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

Preview Lab → · Contrast checker → · Palette generator →

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