#7D701A#7D701A

#7D701A is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.103 H 100.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7D701A
RGBrgb(125, 112, 26)
HSLhsl(52, 66%, 30%)
HSVhsv(52, 79%, 49%)
CMYKcmyk(0%, 10.4%, 79.2%, 51%)
CIE-LABlab(47.01, -4.79, 46.21)
CIE-LCHlch(47.01, 46.46, 95.91°)
OKLaboklab(54.15% -0.0183 0.1011)
OKLCHoklch(54.15% 0.103 100.2)
XYZxyz(14.4388, 16.0236, 3.3094)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D701A #1A277D
analogous
#7D3E1A #7D701A #597D1A
triadic
#7D701A #1A7D70 #701A7D
tetradic
#7D701A #1A7D3E #1A277D #7D1A59
square
#7D701A #1A7D3E #1A277D #7D1A59
split-complementary
#7D701A #1A597D #3E1A7D
monochromatic
#191705 #4A430F #7D701A #B09D25 #D6C23B

Accessibility & contrast

On white

4.99
#7D701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7D701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D701A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D701A#FFFFFF#000000##FFFFFF
##7D701A1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D07
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#876760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d701a;
/* rgb */ color: rgb(125, 112, 26);
/* oklch */ color: oklch(54.2% 0.103 100.2);
Tailwind
colors: {
  custom: {
    50: '#a6985e',
    500: '#7d701a',
    950: '#000000',
  },
}
SCSS
$custom: #7d701a;
$custom-light: #a6985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d701a",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 52.121,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.1027,
    "h": 100.2
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#7D701A
secondary
#4250B1
accent
#56E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D701A

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

Preview Lab → · Contrast checker → · Palette generator →

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