#7B701D#7B701D

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

Color values

HEX#7B701D
RGBrgb(123, 112, 29)
HSLhsl(53, 62%, 30%)
HSVhsv(53, 76%, 48%)
CMYKcmyk(0%, 8.9%, 76.4%, 51.8%)
CIE-LABlab(46.83, -5.59, 44.84)
CIE-LCHlch(46.83, 45.19, 97.11°)
OKLaboklab(53.97% -0.0201 0.0989)
OKLCHoklch(53.97% 0.101 101.5)
XYZxyz(14.1850, 15.8886, 3.4818)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B701D #1D287B
analogous
#7B411D #7B701D #577B1D
triadic
#7B701D #1D7B70 #701D7B
tetradic
#7B701D #1D7B41 #1D287B #7B1D57
square
#7B701D #1D7B41 #1D287B #7B1D57
split-complementary
#7B701D #1D577B #411D7B
monochromatic
#191706 #494311 #7B701D #AD9D29 #D2C140

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B701D#FFFFFF#000000##FFFFFF
##7B701D1.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)
#7B6C0E
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#856860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b701d;
/* rgb */ color: rgb(123, 112, 29);
/* oklch */ color: oklch(54.0% 0.101 101.5);
Tailwind
colors: {
  custom: {
    50: '#a49860',
    500: '#7b701d',
    950: '#000000',
  },
}
SCSS
$custom: #7b701d;
$custom-light: #a49860;
$custom-dark: #000000;
JSON
{
  "hex": "#7b701d",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 52.979,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.10089,
    "h": 101.5
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#7B701D
secondary
#4551AF
accent
#56E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B701D

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

Preview Lab → · Contrast checker → · Palette generator →

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