#7E752D#7E752D

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

Color values

HEX#7E752D
RGBrgb(126, 117, 45)
HSLhsl(53, 47%, 34%)
HSVhsv(53, 64%, 49%)
CMYKcmyk(0%, 7.1%, 64.3%, 50.6%)
CIE-LABlab(48.70, -6.05, 39.84)
CIE-LCHlch(48.70, 40.30, 98.63°)
OKLaboklab(55.57% -0.0197 0.0911)
OKLCHoklch(55.57% 0.093 102.2)
XYZxyz(15.4397, 17.3483, 5.0174)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E752D #2D367E
analogous
#7E4C2D #7E752D #5E7E2D
triadic
#7E752D #2D7E75 #752D7E
tetradic
#7E752D #2D7E4C #2D367E #7E2D5E
square
#7E752D #2D7E4C #2D367E #7E2D5E
split-complementary
#7E752D #2D5E7E #4C2D7E
monochromatic
#24210D #514B1D #7E752D #AB9F3D #C6BB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E752D#FFFFFF#000000##FFFFFF
##7E752D1.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)
#7F7125
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#876D66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e752d;
/* rgb */ color: rgb(126, 117, 45);
/* oklch */ color: oklch(55.6% 0.093 102.2);
Tailwind
colors: {
  custom: {
    50: '#a69c69',
    500: '#7e752d',
    950: '#000000',
  },
}
SCSS
$custom: #7e752d;
$custom-light: #a69c69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e752d",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 45
  },
  "hsl": {
    "h": 53.333,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55565,
    "c": 0.09318,
    "h": 102.2
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#7E752D
secondary
#5A64AC
accent
#60D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E752D

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

Preview Lab → · Contrast checker → · Palette generator →

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