#7D751F#7D751F

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

Color values

HEX#7D751F
RGBrgb(125, 117, 31)
HSLhsl(55, 60%, 31%)
HSVhsv(55, 75%, 49%)
CMYKcmyk(0%, 6.4%, 75.2%, 51%)
CIE-LABlab(48.49, -7.37, 45.72)
CIE-LCHlch(48.49, 46.31, 99.15°)
OKLaboklab(55.34% -0.025 0.101)
OKLCHoklch(55.34% 0.104 103.9)
XYZxyz(15.0667, 17.1821, 3.8189)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D751F #1F277D
analogous
#7D461F #7D751F #567D1F
triadic
#7D751F #1F7D75 #751F7D
tetradic
#7D751F #1F7D46 #1F277D #7D1F56
square
#7D751F #1F7D46 #1F277D #7D1F56
split-complementary
#7D751F #1F567D #461F7D
monochromatic
#1B1907 #4C4713 #7D751F #AEA32B #D1C545

Accessibility & contrast

On white

4.73
#7D751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7D751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D751F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D751F#FFFFFF#000000##FFFFFF
##7D751F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#876D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d751f;
/* rgb */ color: rgb(125, 117, 31);
/* oklch */ color: oklch(55.3% 0.104 103.9);
Tailwind
colors: {
  custom: {
    50: '#a69c61',
    500: '#7d751f',
    950: '#000000',
  },
}
SCSS
$custom: #7d751f;
$custom-light: #a69c61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d751f",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 54.894,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55342,
    "c": 0.10409,
    "h": 103.9
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#7D751F
secondary
#4851B0
accent
#52E344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D751F

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

Preview Lab → · Contrast checker → · Palette generator →

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