#7C701A#7C701A

#7C701A is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.103 H 101.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7C701A
RGBrgb(124, 112, 26)
HSLhsl(53, 65%, 29%)
HSVhsv(53, 79%, 49%)
CMYKcmyk(0%, 9.7%, 79%, 51.4%)
CIE-LABlab(46.91, -5.26, 46.09)
CIE-LCHlch(46.91, 46.39, 96.51°)
OKLaboklab(54.05% -0.0195 0.1008)
OKLCHoklch(54.05% 0.103 101)
XYZxyz(14.2935, 15.9487, 3.3026)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C701A #1A267C
analogous
#7C3F1A #7C701A #577C1A
triadic
#7C701A #1A7C70 #701A7C
tetradic
#7C701A #1A7C3F #1A267C #7C1A57
square
#7C701A #1A7C3F #1A267C #7C1A57
split-complementary
#7C701A #1A577C #3F1A7C
monochromatic
#191705 #49420F #7C701A #AF9E25 #D6C33B

Accessibility & contrast

On white

5.01
#7C701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7C701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C701A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C701A#FFFFFF#000000##FFFFFF
##7C701A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D08
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#866760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c701a;
/* rgb */ color: rgb(124, 112, 26);
/* oklch */ color: oklch(54.1% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#a5985e',
    500: '#7c701a',
    950: '#000000',
  },
}
SCSS
$custom: #7c701a;
$custom-light: #a5985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c701a",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 52.653,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54052,
    "c": 0.10272,
    "h": 101
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#7C701A
secondary
#424FB0
accent
#54E840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C701A

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

Preview Lab → · Contrast checker → · Palette generator →

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