#7E7352#7E7352

#7E7352 is a mid, muted yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.050 H 91.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7E7352
RGBrgb(126, 115, 82)
HSLhsl(45, 21%, 41%)
HSVhsv(45, 35%, 49%)
CMYKcmyk(0%, 8.7%, 34.9%, 50.6%)
CIE-LABlab(48.64, -1.09, 19.84)
CIE-LCHlch(48.64, 19.87, 93.13°)
OKLaboklab(55.69% -0.0016 0.0496)
OKLCHoklch(55.69% 0.05 91.8)
XYZxyz(16.2581, 17.3068, 10.4651)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7352 #525D7E
analogous
#7E5D52 #7E7352 #737E52
triadic
#7E7352 #527E73 #73527E
tetradic
#7E7352 #527E5D #525D7E #7E5273
square
#7E7352 #527E5D #525D7E #7E5273
split-complementary
#7E7352 #52737E #5D527E
monochromatic
#342F22 #59513A #7E7352 #A0936D #B8AF92

Accessibility & contrast

On white

4.71
#7E7352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7E7352 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7352
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7352#FFFFFF#000000##FFFFFF
##7E73521.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7250
Deuteranopia (green-blind)
#7D7553
Tritanopia (blue-blind)
#856E6A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7352;
/* rgb */ color: rgb(126, 115, 82);
/* oklch */ color: oklch(55.7% 0.050 91.8);
Tailwind
colors: {
  custom: {
    50: '#a49b83',
    500: '#7e7352',
    950: '#000000',
  },
}
SCSS
$custom: #7e7352;
$custom-light: #a49b83;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7352",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 82
  },
  "hsl": {
    "h": 45,
    "s": 21.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.04958,
    "h": 91.8
  },
  "luminance": 0.17306
}

Semantic roles & 50–950 ramp

primary
#7E7352
secondary
#868EA5
accent
#7FBE6A
background
#FAF9F8
surface
#F4F2EF
border
#CECCCA
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7E7352

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

Preview Lab → · Contrast checker → · Palette generator →

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