#7E722E#7E722E

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

Color values

HEX#7E722E
RGBrgb(126, 114, 46)
HSLhsl(51, 47%, 34%)
HSVhsv(51, 63%, 49%)
CMYKcmyk(0%, 9.5%, 63.5%, 50.6%)
CIE-LABlab(47.84, -4.28, 38.42)
CIE-LCHlch(47.84, 38.66, 96.35°)
OKLaboklab(54.89% -0.0145 0.0882)
OKLCHoklch(54.89% 0.089 99.3)
XYZxyz(15.1152, 16.6682, 5.0053)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E722E #2E3A7E
analogous
#7E4A2E #7E722E #627E2E
triadic
#7E722E #2E7E72 #722E7E
tetradic
#7E722E #2E7E4A #2E3A7E #7E2E62
square
#7E722E #2E7E4A #2E3A7E #7E2E62
split-complementary
#7E722E #2E627E #4A2E7E
monochromatic
#24210D #51491E #7E722E #AB9B3E #C5B661

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E722E#FFFFFF#000000##FFFFFF
##7E722E1.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)
#7C6F27
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#876A63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e722e;
/* rgb */ color: rgb(126, 114, 46);
/* oklch */ color: oklch(54.9% 0.089 99.3);
Tailwind
colors: {
  custom: {
    50: '#a69a6a',
    500: '#7e722e',
    950: '#000000',
  },
}
SCSS
$custom: #7e722e;
$custom-light: #a69a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e722e",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 46
  },
  "hsl": {
    "h": 51,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.08939,
    "h": 99.3
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#7E722E
secondary
#5C68AC
accent
#66D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E722E

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

Preview Lab → · Contrast checker → · Palette generator →

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