#7E751D#7E751D

#7E751D is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.105 H 103.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7E751D
RGBrgb(126, 117, 29)
HSLhsl(54, 63%, 30%)
HSVhsv(54, 77%, 49%)
CMYKcmyk(0%, 7.1%, 77%, 50.6%)
CIE-LABlab(48.57, -7.00, 46.60)
CIE-LCHlch(48.57, 47.12, 98.54°)
OKLaboklab(55.43% -0.0242 0.1025)
OKLCHoklch(55.43% 0.105 103.3)
XYZxyz(15.1879, 17.2475, 3.6913)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E751D #1D267E
analogous
#7E441D #7E751D #567E1D
triadic
#7E751D #1D7E75 #751D7E
tetradic
#7E751D #1D7E44 #1D267E #7E1D56
square
#7E751D #1D7E44 #1D267E #7E1D56
split-complementary
#7E751D #1D567E #441D7E
monochromatic
#1B1906 #4C4712 #7E751D #B0A328 #D3C642

Accessibility & contrast

On white

4.72
#7E751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7E751D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E751D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E751D#FFFFFF#000000##FFFFFF
##7E751D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e751d;
/* rgb */ color: rgb(126, 117, 29);
/* oklch */ color: oklch(55.4% 0.105 103.3);
Tailwind
colors: {
  custom: {
    50: '#a79c60',
    500: '#7e751d',
    950: '#000000',
  },
}
SCSS
$custom: #7e751d;
$custom-light: #a79c60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e751d",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 54.433,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55425,
    "c": 0.10529,
    "h": 103.3
  },
  "luminance": 0.17247
}

Semantic roles & 50–950 ramp

primary
#7E751D
secondary
#454FB1
accent
#51E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E751D

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

Preview Lab → · Contrast checker → · Palette generator →

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