#7E752A#7E752A

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

Color values

HEX#7E752A
RGBrgb(126, 117, 42)
HSLhsl(54, 50%, 33%)
HSVhsv(54, 67%, 49%)
CMYKcmyk(0%, 7.1%, 66.7%, 50.6%)
CIE-LABlab(48.67, -6.25, 41.22)
CIE-LCHlch(48.67, 41.69, 98.63°)
OKLaboklab(55.53% -0.0207 0.0935)
OKLCHoklch(55.53% 0.096 102.5)
XYZxyz(15.3840, 17.3260, 4.7239)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E752A #2A337E
analogous
#7E4B2A #7E752A #5D7E2A
triadic
#7E752A #2A7E75 #752A7E
tetradic
#7E752A #2A7E4B #2A337E #7E2A5D
square
#7E752A #2A7E4B #2A337E #7E2A5D
split-complementary
#7E752A #2A5D7E #4B2A7E
monochromatic
#22200B #504A1B #7E752A #ACA039 #C8BC5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E752A#FFFFFF#000000##FFFFFF
##7E752A1.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)
#807121
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e752a;
/* rgb */ color: rgb(126, 117, 42);
/* oklch */ color: oklch(55.5% 0.096 102.5);
Tailwind
colors: {
  custom: {
    50: '#a69c67',
    500: '#7e752a',
    950: '#000000',
  },
}
SCSS
$custom: #7e752a;
$custom-light: #a69c67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e752a",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 53.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.09577,
    "h": 102.5
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#7E752A
secondary
#565FAE
accent
#5DDA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E752A

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

Preview Lab → · Contrast checker → · Palette generator →

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