#7C701C#7C701C

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

Color values

HEX#7C701C
RGBrgb(124, 112, 28)
HSLhsl(53, 63%, 30%)
HSVhsv(53, 77%, 49%)
CMYKcmyk(0%, 9.7%, 77.4%, 51.4%)
CIE-LABlab(46.92, -5.17, 45.35)
CIE-LCHlch(46.92, 45.64, 96.50°)
OKLaboklab(54.07% -0.0191 0.0997)
OKLCHoklch(54.07% 0.102 100.8)
XYZxyz(14.3166, 15.9579, 3.4245)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C701C #1C287C
analogous
#7C401C #7C701C #587C1C
triadic
#7C701C #1C7C70 #701C7C
tetradic
#7C701C #1C7C40 #1C287C #7C1C58
square
#7C701C #1C7C40 #1C287C #7C1C58
split-complementary
#7C701C #1C587C #401C7C
monochromatic
#191706 #4A4311 #7C701C #AE9D27 #D4C13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C701C#FFFFFF#000000##FFFFFF
##7C701C1.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)
#7B6D0C
Deuteranopia (green-blind)
#7F7122
Tritanopia (blue-blind)
#866760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c701c;
/* rgb */ color: rgb(124, 112, 28);
/* oklch */ color: oklch(54.1% 0.102 100.8);
Tailwind
colors: {
  custom: {
    50: '#a5985f',
    500: '#7c701c',
    950: '#000000',
  },
}
SCSS
$custom: #7c701c;
$custom-light: #a5985f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c701c",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 52.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.1015,
    "h": 100.8
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#7C701C
secondary
#4451B0
accent
#56E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C701C

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

Preview Lab → · Contrast checker → · Palette generator →

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