#7E752F#7E752F

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

Color values

HEX#7E752F
RGBrgb(126, 117, 47)
HSLhsl(53, 46%, 34%)
HSVhsv(53, 63%, 49%)
CMYKcmyk(0%, 7.1%, 62.7%, 50.6%)
CIE-LABlab(48.72, -5.90, 38.90)
CIE-LCHlch(48.72, 39.34, 98.62°)
OKLaboklab(55.59% -0.019 0.0894)
OKLCHoklch(55.59% 0.091 102)
XYZxyz(15.4791, 17.3640, 5.2250)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E752F #2F387E
analogous
#7E4E2F #7E752F #607E2F
triadic
#7E752F #2F7E75 #752F7E
tetradic
#7E752F #2F7E4E #2F387E #7E2F60
square
#7E752F #2F7E4E #2F387E #7E2F60
split-complementary
#7E752F #2F607E #4E2F7E
monochromatic
#25220E #514C1E #7E752F #AB9E40 #C5BA63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E752F#FFFFFF#000000##FFFFFF
##7E752F1.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)
#7F7127
Deuteranopia (green-blind)
#827533
Tritanopia (blue-blind)
#876D66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e752f;
/* rgb */ color: rgb(126, 117, 47);
/* oklch */ color: oklch(55.6% 0.091 102.0);
Tailwind
colors: {
  custom: {
    50: '#a69c6b',
    500: '#7e752f',
    950: '#000000',
  },
}
SCSS
$custom: #7e752f;
$custom-light: #a69c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e752f",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 53.165,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.09136,
    "h": 102
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#7E752F
secondary
#5D66AC
accent
#61D552
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E752F

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

Preview Lab → · Contrast checker → · Palette generator →

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