#7C702A#7C702A

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

Color values

HEX#7C702A
RGBrgb(124, 112, 42)
HSLhsl(51, 49%, 33%)
HSVhsv(51, 66%, 49%)
CMYKcmyk(0%, 9.7%, 66.1%, 51.4%)
CIE-LABlab(47.03, -4.36, 39.41)
CIE-LCHlch(47.03, 39.65, 96.31°)
OKLaboklab(54.19% -0.0151 0.0897)
OKLCHoklch(54.19% 0.091 99.6)
XYZxyz(14.5249, 16.0412, 4.5212)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C702A #2A367C
analogous
#7C472A #7C702A #5F7C2A
triadic
#7C702A #2A7C70 #702A7C
tetradic
#7C702A #2A7C47 #2A367C #7C2A5F
square
#7C702A #2A7C47 #2A367C #7C2A5F
split-complementary
#7C702A #2A5F7C #472A7C
monochromatic
#211D0B #4E471B #7C702A #AA9939 #C7B759

Accessibility & contrast

On white

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

On black

4.21
#7C702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C702A#FFFFFF#000000##FFFFFF
##7C702A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D22
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#866861
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c702a;
/* rgb */ color: rgb(124, 112, 42);
/* oklch */ color: oklch(54.2% 0.091 99.6);
Tailwind
colors: {
  custom: {
    50: '#a49867',
    500: '#7c702a',
    950: '#000000',
  },
}
SCSS
$custom: #7c702a;
$custom-light: #a49867;
$custom-dark: #000000;
JSON
{
  "hex": "#7c702a",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 51.22,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.091,
    "h": 99.6
  },
  "luminance": 0.16041
}

Semantic roles & 50–950 ramp

primary
#7C702A
secondary
#5562AD
accent
#63D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7C702A

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

Preview Lab → · Contrast checker → · Palette generator →

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