#7D751C#7D751C

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

Color values

HEX#7D751C
RGBrgb(125, 117, 28)
HSLhsl(55, 63%, 30%)
HSVhsv(55, 78%, 49%)
CMYKcmyk(0%, 6.4%, 77.6%, 51%)
CIE-LABlab(48.47, -7.51, 46.84)
CIE-LCHlch(48.47, 47.44, 99.11°)
OKLaboklab(55.32% -0.0257 0.1028)
OKLCHoklch(55.32% 0.106 104.1)
XYZxyz(15.0290, 17.1670, 3.6203)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D751C #1C247D
analogous
#7D451C #7D751C #547D1C
triadic
#7D751C #1C7D75 #751C7D
tetradic
#7D751C #1C7D45 #1C247D #7D1C54
square
#7D751C #1C7D45 #1C247D #7D1C54
split-complementary
#7D751C #1C547D #451C7D
monochromatic
#191706 #4B4611 #7D751C #AFA427 #D4C83F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D751C#FFFFFF#000000##FFFFFF
##7D751C1.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)
#807109
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#876C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d751c;
/* rgb */ color: rgb(125, 117, 28);
/* oklch */ color: oklch(55.3% 0.106 104.1);
Tailwind
colors: {
  custom: {
    50: '#a69c60',
    500: '#7d751c',
    950: '#000000',
  },
}
SCSS
$custom: #7d751c;
$custom-light: #a69c60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d751c",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 55.052,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.106,
    "h": 104.1
  },
  "luminance": 0.17166
}

Semantic roles & 50–950 ramp

primary
#7D751C
secondary
#444DB1
accent
#4FE641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D751C

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

Preview Lab → · Contrast checker → · Palette generator →

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