#7C701E#7C701E

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

Color values

HEX#7C701E
RGBrgb(124, 112, 30)
HSLhsl(52, 61%, 30%)
HSVhsv(52, 76%, 49%)
CMYKcmyk(0%, 9.7%, 75.8%, 51.4%)
CIE-LABlab(46.93, -5.07, 44.58)
CIE-LCHlch(46.93, 44.87, 96.49°)
OKLaboklab(54.08% -0.0186 0.0985)
OKLCHoklch(54.08% 0.1 100.7)
XYZxyz(14.3414, 15.9678, 3.5547)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C701E #1E2A7C
analogous
#7C411E #7C701E #597C1E
triadic
#7C701E #1E7C70 #701E7C
tetradic
#7C701E #1E7C41 #1E2A7C #7C1E59
square
#7C701E #1E7C41 #1E2A7C #7C1E59
split-complementary
#7C701E #1E597C #411E7C
monochromatic
#191706 #4B4312 #7C701E #AD9D2A #D1BF43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C701E#FFFFFF#000000##FFFFFF
##7C701E1.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)
#7B6D10
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#866760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c701e;
/* rgb */ color: rgb(124, 112, 30);
/* oklch */ color: oklch(54.1% 0.100 100.7);
Tailwind
colors: {
  custom: {
    50: '#a59860',
    500: '#7c701e',
    950: '#000000',
  },
}
SCSS
$custom: #7c701e;
$custom-light: #a59860;
$custom-dark: #000000;
JSON
{
  "hex": "#7c701e",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 52.34,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.10021,
    "h": 100.7
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#7C701E
secondary
#4654AF
accent
#58E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C701E

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

Preview Lab → · Contrast checker → · Palette generator →

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