#7C701B#7C701B

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

Color values

HEX#7C701B
RGBrgb(124, 112, 27)
HSLhsl(53, 64%, 30%)
HSVhsv(53, 78%, 49%)
CMYKcmyk(0%, 9.7%, 78.2%, 51.4%)
CIE-LABlab(46.91, -5.22, 45.72)
CIE-LCHlch(46.91, 46.02, 96.51°)
OKLaboklab(54.06% -0.0193 0.1003)
OKLCHoklch(54.06% 0.102 100.9)
XYZxyz(14.3049, 15.9532, 3.3625)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C701B #1B277C
analogous
#7C3F1B #7C701B #587C1B
triadic
#7C701B #1B7C70 #701B7C
tetradic
#7C701B #1B7C3F #1B277C #7C1B58
square
#7C701B #1B7C3F #1B277C #7C1B58
split-complementary
#7C701B #1B587C #3F1B7C
monochromatic
#191705 #4A4310 #7C701B #AE9D26 #D5C23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C701B#FFFFFF#000000##FFFFFF
##7C701B1.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)
#7B6D0A
Deuteranopia (green-blind)
#7F7121
Tritanopia (blue-blind)
#866760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c701b;
/* rgb */ color: rgb(124, 112, 27);
/* oklch */ color: oklch(54.1% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#a5985f',
    500: '#7c701b',
    950: '#000000',
  },
}
SCSS
$custom: #7c701b;
$custom-light: #a5985f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c701b",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 52.577,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.10211,
    "h": 100.9
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#7C701B
secondary
#4350B0
accent
#55E741
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C701B

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

Preview Lab → · Contrast checker → · Palette generator →

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