#7B701F#7B701F

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

Color values

HEX#7B701F
RGBrgb(123, 112, 31)
HSLhsl(53, 60%, 30%)
HSVhsv(53, 75%, 48%)
CMYKcmyk(0%, 8.9%, 74.8%, 51.8%)
CIE-LABlab(46.84, -5.49, 44.06)
CIE-LCHlch(46.84, 44.40, 97.11°)
OKLaboklab(53.99% -0.0196 0.0976)
OKLCHoklch(53.99% 0.1 101.4)
XYZxyz(14.2105, 15.8989, 3.6163)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B701F #1F2A7B
analogous
#7B421F #7B701F #587B1F
triadic
#7B701F #1F7B70 #701F7B
tetradic
#7B701F #1F7B42 #1F2A7B #7B1F58
square
#7B701F #1F7B42 #1F2A7B #7B1F58
split-complementary
#7B701F #1F587B #421F7B
monochromatic
#191706 #4A4313 #7B701F #AC9D2B #D0BF44

Accessibility & contrast

On white

5.02
#7B701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B701F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B701F#FFFFFF#000000##FFFFFF
##7B701F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#856860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b701f;
/* rgb */ color: rgb(123, 112, 31);
/* oklch */ color: oklch(54.0% 0.100 101.4);
Tailwind
colors: {
  custom: {
    50: '#a49861',
    500: '#7b701f',
    950: '#000000',
  },
}
SCSS
$custom: #7b701f;
$custom-light: #a49861;
$custom-dark: #000000;
JSON
{
  "hex": "#7b701f",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 52.826,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.09955,
    "h": 101.4
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#7B701F
secondary
#4854AE
accent
#58E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B701F

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

Preview Lab → · Contrast checker → · Palette generator →

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