#7B701A#7B701A

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

Color values

HEX#7B701A
RGBrgb(123, 112, 26)
HSLhsl(53, 65%, 29%)
HSVhsv(53, 79%, 48%)
CMYKcmyk(0%, 8.9%, 78.9%, 51.8%)
CIE-LABlab(46.81, -5.73, 45.96)
CIE-LCHlch(46.81, 46.32, 97.11°)
OKLaboklab(53.95% -0.0208 0.1006)
OKLCHoklch(53.95% 0.103 101.7)
XYZxyz(14.1497, 15.8745, 3.2959)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B701A #1A257B
analogous
#7B401A #7B701A #567B1A
triadic
#7B701A #1A7B70 #701A7B
tetradic
#7B701A #1A7B40 #1A257B #7B1A56
square
#7B701A #1A7B40 #1A257B #7B1A56
split-complementary
#7B701A #1A567B #401A7B
monochromatic
#191705 #48420F #7B701A #AE9E25 #D5C43A

Accessibility & contrast

On white

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

On black

4.17
#7B701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B701A#FFFFFF#000000##FFFFFF
##7B701A1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b701a;
/* rgb */ color: rgb(123, 112, 26);
/* oklch */ color: oklch(54.0% 0.103 101.7);
Tailwind
colors: {
  custom: {
    50: '#a4985e',
    500: '#7b701a',
    950: '#000000',
  },
}
SCSS
$custom: #7b701a;
$custom-light: #a4985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b701a",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 53.196,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53951,
    "c": 0.10275,
    "h": 101.7
  },
  "luminance": 0.15874
}

Semantic roles & 50–950 ramp

primary
#7B701A
secondary
#424EAF
accent
#53E840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B701A

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

Preview Lab → · Contrast checker → · Palette generator →

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