#7E7620#7E7620

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

Color values

HEX#7E7620
RGBrgb(126, 118, 32)
HSLhsl(55, 59%, 31%)
HSVhsv(55, 75%, 49%)
CMYKcmyk(0%, 6.3%, 74.6%, 50.6%)
CIE-LABlab(48.88, -7.41, 45.74)
CIE-LCHlch(48.88, 46.33, 99.20°)
OKLaboklab(55.68% -0.0251 0.1012)
OKLCHoklch(55.68% 0.104 103.9)
XYZxyz(15.3440, 17.4974, 3.9353)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7620 #20287E
analogous
#7E4720 #7E7620 #577E20
triadic
#7E7620 #207E76 #76207E
tetradic
#7E7620 #207E47 #20287E #7E2057
square
#7E7620 #207E47 #20287E #7E2057
split-complementary
#7E7620 #20577E #47207E
monochromatic
#1C1B07 #4D4814 #7E7620 #AFA42C #D0C548

Accessibility & contrast

On white

4.67
#7E7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7E7620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7620
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7620#FFFFFF#000000##FFFFFF
##7E76201.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817211
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7620;
/* rgb */ color: rgb(126, 118, 32);
/* oklch */ color: oklch(55.7% 0.104 103.9);
Tailwind
colors: {
  custom: {
    50: '#a69d62',
    500: '#7e7620',
    950: '#000000',
  },
}
SCSS
$custom: #7e7620;
$custom-light: #a69d62;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7620",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 54.894,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.10429,
    "h": 103.9
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#7E7620
secondary
#4952B1
accent
#53E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7E7620

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

Preview Lab → · Contrast checker → · Palette generator →

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