#7E752B#7E752B

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

Color values

HEX#7E752B
RGBrgb(126, 117, 43)
HSLhsl(53, 49%, 33%)
HSVhsv(53, 66%, 49%)
CMYKcmyk(0%, 7.1%, 65.9%, 50.6%)
CIE-LABlab(48.68, -6.19, 40.77)
CIE-LCHlch(48.68, 41.23, 98.63°)
OKLaboklab(55.54% -0.0203 0.0927)
OKLCHoklch(55.54% 0.095 102.4)
XYZxyz(15.4021, 17.3332, 4.8194)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E752B #2B347E
analogous
#7E4B2B #7E752B #5D7E2B
triadic
#7E752B #2B7E75 #752B7E
tetradic
#7E752B #2B7E4B #2B347E #7E2B5D
square
#7E752B #2B7E4B #2B347E #7E2B5D
split-complementary
#7E752B #2B5D7E #4B2B7E
monochromatic
#23200C #504B1B #7E752B #AC9F3B #C7BC5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E752B#FFFFFF#000000##FFFFFF
##7E752B1.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)
#807122
Deuteranopia (green-blind)
#82752F
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e752b;
/* rgb */ color: rgb(126, 117, 43);
/* oklch */ color: oklch(55.5% 0.095 102.4);
Tailwind
colors: {
  custom: {
    50: '#a69c68',
    500: '#7e752b',
    950: '#000000',
  },
}
SCSS
$custom: #7e752b;
$custom-light: #a69c68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e752b",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 53.494,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.09492,
    "h": 102.4
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#7E752B
secondary
#5861AD
accent
#5ED94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E752B

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

Preview Lab → · Contrast checker → · Palette generator →

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