#7E752E#7E752E

#7E752E is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.092 H 102.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7E752E
RGBrgb(126, 117, 46)
HSLhsl(53, 47%, 34%)
HSVhsv(53, 63%, 49%)
CMYKcmyk(0%, 7.1%, 63.5%, 50.6%)
CIE-LABlab(48.71, -5.97, 39.37)
CIE-LCHlch(48.71, 39.82, 98.63°)
OKLaboklab(55.58% -0.0194 0.0902)
OKLCHoklch(55.58% 0.092 102.1)
XYZxyz(15.4592, 17.3561, 5.1200)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E752E #2E377E
analogous
#7E4D2E #7E752E #5F7E2E
triadic
#7E752E #2E7E75 #752E7E
tetradic
#7E752E #2E7E4D #2E377E #7E2E5F
square
#7E752E #2E7E4D #2E377E #7E2E5F
split-complementary
#7E752E #2E5F7E #4D2E7E
monochromatic
#24220D #514B1E #7E752E #AB9F3E #C5BA61

Accessibility & contrast

On white

4.70
#7E752E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7E752E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E752E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E752E#FFFFFF#000000##FFFFFF
##7E752E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7126
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#876D66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e752e;
/* rgb */ color: rgb(126, 117, 46);
/* oklch */ color: oklch(55.6% 0.092 102.1);
Tailwind
colors: {
  custom: {
    50: '#a69c6a',
    500: '#7e752e',
    950: '#000000',
  },
}
SCSS
$custom: #7e752e;
$custom-light: #a69c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e752e",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 46
  },
  "hsl": {
    "h": 53.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55576,
    "c": 0.09227,
    "h": 102.1
  },
  "luminance": 0.17355
}

Semantic roles & 50–950 ramp

primary
#7E752E
secondary
#5C65AC
accent
#61D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E752E

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

Preview Lab → · Contrast checker → · Palette generator →

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