#7D702A#7D702A

#7D702A is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.091 H 98.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7D702A
RGBrgb(125, 112, 42)
HSLhsl(51, 50%, 33%)
HSVhsv(51, 66%, 49%)
CMYKcmyk(0%, 10.4%, 66.4%, 51%)
CIE-LABlab(47.13, -3.89, 39.55)
CIE-LCHlch(47.13, 39.74, 95.62°)
OKLaboklab(54.29% -0.0138 0.09)
OKLCHoklch(54.29% 0.091 98.7)
XYZxyz(14.6702, 16.1161, 4.5280)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D702A #2A377D
analogous
#7D462A #7D702A #617D2A
triadic
#7D702A #2A7D70 #702A7D
tetradic
#7D702A #2A7D46 #2A377D #7D2A61
square
#7D702A #2A7D46 #2A377D #7D2A61
split-complementary
#7D702A #2A617D #462A7D
monochromatic
#211E0B #4F471B #7D702A #AB9939 #C8B65A

Accessibility & contrast

On white

4.97
#7D702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7D702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D702A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D702A#FFFFFF#000000##FFFFFF
##7D702A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D22
Deuteranopia (green-blind)
#7E722E
Tritanopia (blue-blind)
#876861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d702a;
/* rgb */ color: rgb(125, 112, 42);
/* oklch */ color: oklch(54.3% 0.091 98.7);
Tailwind
colors: {
  custom: {
    50: '#a59867',
    500: '#7d702a',
    950: '#000000',
  },
}
SCSS
$custom: #7d702a;
$custom-light: #a59867;
$custom-dark: #000000;
JSON
{
  "hex": "#7d702a",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 50.602,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54288,
    "c": 0.09106,
    "h": 98.7
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#7D702A
secondary
#5663AD
accent
#64D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D702A

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

Preview Lab → · Contrast checker → · Palette generator →

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