#7D702C#7D702C

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

Color values

HEX#7D702C
RGBrgb(125, 112, 44)
HSLhsl(50, 48%, 33%)
HSVhsv(50, 65%, 49%)
CMYKcmyk(0%, 10.4%, 64.8%, 51%)
CIE-LABlab(47.15, -3.75, 38.61)
CIE-LCHlch(47.15, 38.79, 95.55°)
OKLaboklab(54.31% -0.0132 0.0883)
OKLCHoklch(54.31% 0.089 98.5)
XYZxyz(14.7069, 16.1308, 4.7213)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D702C #2C397D
analogous
#7D472C #7D702C #617D2C
triadic
#7D702C #2C7D70 #702C7D
tetradic
#7D702C #2C7D47 #2C397D #7D2C61
square
#7D702C #2C7D47 #2C397D #7D2C61
split-complementary
#7D702C #2C617D #472C7D
monochromatic
#221F0C #50471C #7D702C #AA993C #C6B55D

Accessibility & contrast

On white

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

On black

4.23
#7D702C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D702C#FFFFFF#000000##FFFFFF
##7D702C1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d702c;
/* rgb */ color: rgb(125, 112, 44);
/* oklch */ color: oklch(54.3% 0.089 98.5);
Tailwind
colors: {
  custom: {
    50: '#a59868',
    500: '#7d702c',
    950: '#000000',
  },
}
SCSS
$custom: #7d702c;
$custom-light: #a59868;
$custom-dark: #000000;
JSON
{
  "hex": "#7d702c",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 50.37,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.0893,
    "h": 98.5
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#7D702C
secondary
#5966AC
accent
#66D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D702C

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

Preview Lab → · Contrast checker → · Palette generator →

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