#7C701F#7C701F

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

Color values

HEX#7C701F
RGBrgb(124, 112, 31)
HSLhsl(52, 60%, 30%)
HSVhsv(52, 75%, 49%)
CMYKcmyk(0%, 9.7%, 75%, 51.4%)
CIE-LABlab(46.94, -5.02, 44.19)
CIE-LCHlch(46.94, 44.47, 96.48°)
OKLaboklab(54.09% -0.0183 0.0978)
OKLCHoklch(54.09% 0.1 100.6)
XYZxyz(14.3543, 15.9730, 3.6231)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C701F #1F2B7C
analogous
#7C411F #7C701F #597C1F
triadic
#7C701F #1F7C70 #701F7C
tetradic
#7C701F #1F7C41 #1F2B7C #7C1F59
square
#7C701F #1F7C41 #1F2B7C #7C1F59
split-complementary
#7C701F #1F597C #411F7C
monochromatic
#1A1807 #4B4413 #7C701F #AD9C2B #D0BE45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C701F#FFFFFF#000000##FFFFFF
##7C701F1.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)
#7B6D12
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#866860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c701f;
/* rgb */ color: rgb(124, 112, 31);
/* oklch */ color: oklch(54.1% 0.100 100.6);
Tailwind
colors: {
  custom: {
    50: '#a59861',
    500: '#7c701f',
    950: '#000000',
  },
}
SCSS
$custom: #7c701f;
$custom-light: #a59861;
$custom-dark: #000000;
JSON
{
  "hex": "#7c701f",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 52.258,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.09953,
    "h": 100.6
  },
  "luminance": 0.15972
}

Semantic roles & 50–950 ramp

primary
#7C701F
secondary
#4855AF
accent
#59E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C701F

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

Preview Lab → · Contrast checker → · Palette generator →

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