#7D751D#7D751D

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

Color values

HEX#7D751D
RGBrgb(125, 117, 29)
HSLhsl(55, 62%, 30%)
HSVhsv(55, 77%, 49%)
CMYKcmyk(0%, 6.4%, 76.8%, 51%)
CIE-LABlab(48.48, -7.46, 46.48)
CIE-LCHlch(48.48, 47.07, 99.12°)
OKLaboklab(55.33% -0.0255 0.1022)
OKLCHoklch(55.33% 0.105 104)
XYZxyz(15.0412, 17.1719, 3.6844)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D751D #1D257D
analogous
#7D451D #7D751D #557D1D
triadic
#7D751D #1D7D75 #751D7D
tetradic
#7D751D #1D7D45 #1D257D #7D1D55
square
#7D751D #1D7D45 #1D257D #7D1D55
split-complementary
#7D751D #1D557D #451D7D
monochromatic
#1A1806 #4B4711 #7D751D #AFA329 #D3C741

Accessibility & contrast

On white

4.74
#7D751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7D751D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D751D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D751D#FFFFFF#000000##FFFFFF
##7D751D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d751d;
/* rgb */ color: rgb(125, 117, 29);
/* oklch */ color: oklch(55.3% 0.105 104.0);
Tailwind
colors: {
  custom: {
    50: '#a69c60',
    500: '#7d751d',
    950: '#000000',
  },
}
SCSS
$custom: #7d751d;
$custom-light: #a69c60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d751d",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 55,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.10537,
    "h": 104
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#7D751D
secondary
#454EB1
accent
#50E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D751D

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

Preview Lab → · Contrast checker → · Palette generator →

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