#7E722D#7E722D

#7E722D is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.090 H 99.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7E722D
RGBrgb(126, 114, 45)
HSLhsl(51, 47%, 34%)
HSVhsv(51, 64%, 49%)
CMYKcmyk(0%, 9.5%, 64.3%, 50.6%)
CIE-LABlab(47.83, -4.35, 38.90)
CIE-LCHlch(47.83, 39.14, 96.38°)
OKLaboklab(54.88% -0.0149 0.0891)
OKLCHoklch(54.88% 0.09 99.5)
XYZxyz(15.0958, 16.6604, 4.9027)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E722D #2D397E
analogous
#7E492D #7E722D #617E2D
triadic
#7E722D #2D7E72 #722D7E
tetradic
#7E722D #2D7E49 #2D397E #7E2D61
square
#7E722D #2D7E49 #2D397E #7E2D61
split-complementary
#7E722D #2D617E #492D7E
monochromatic
#24200D #51491D #7E722D #AB9B3D #C6B75F

Accessibility & contrast

On white

4.85
#7E722D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7E722D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E722D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E722D#FFFFFF#000000##FFFFFF
##7E722D1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F25
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#886A63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e722d;
/* rgb */ color: rgb(126, 114, 45);
/* oklch */ color: oklch(54.9% 0.090 99.5);
Tailwind
colors: {
  custom: {
    50: '#a69a69',
    500: '#7e722d',
    950: '#000000',
  },
}
SCSS
$custom: #7e722d;
$custom-light: #a69a69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e722d",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 45
  },
  "hsl": {
    "h": 51.111,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.09029,
    "h": 99.5
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#7E722D
secondary
#5A67AC
accent
#65D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E722D

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

Preview Lab → · Contrast checker → · Palette generator →

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