#7B701C#7B701C

#7B701C is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.102 H 101.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7B701C
RGBrgb(123, 112, 28)
HSLhsl(53, 63%, 30%)
HSVhsv(53, 77%, 48%)
CMYKcmyk(0%, 8.9%, 77.2%, 51.8%)
CIE-LABlab(46.82, -5.64, 45.22)
CIE-LCHlch(46.82, 45.57, 97.11°)
OKLaboklab(53.97% -0.0204 0.0995)
OKLCHoklch(53.97% 0.102 101.6)
XYZxyz(14.1728, 15.8838, 3.4177)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B701C #1C277B
analogous
#7B411C #7B701C #567B1C
triadic
#7B701C #1C7B70 #701C7B
tetradic
#7B701C #1C7B41 #1C277B #7B1C56
square
#7B701C #1C7B41 #1C277B #7B1C56
split-complementary
#7B701C #1C567B #411C7B
monochromatic
#191706 #494311 #7B701C #AD9D27 #D3C23E

Accessibility & contrast

On white

5.03
#7B701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7B701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B701C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B701C#FFFFFF#000000##FFFFFF
##7B701C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0C
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#856760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b701c;
/* rgb */ color: rgb(123, 112, 28);
/* oklch */ color: oklch(54.0% 0.102 101.6);
Tailwind
colors: {
  custom: {
    50: '#a4985f',
    500: '#7b701c',
    950: '#000000',
  },
}
SCSS
$custom: #7b701c;
$custom-light: #a4985f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b701c",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 53.053,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.10152,
    "h": 101.6
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#7B701C
secondary
#4450AF
accent
#55E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B701C

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

Preview Lab → · Contrast checker → · Palette generator →

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