#7B701E#7B701E

#7B701E 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.03:1 contrast (WCAG AA passes).

Color values

HEX#7B701E
RGBrgb(123, 112, 30)
HSLhsl(53, 61%, 30%)
HSVhsv(53, 76%, 48%)
CMYKcmyk(0%, 8.9%, 75.6%, 51.8%)
CIE-LABlab(46.83, -5.55, 44.45)
CIE-LCHlch(46.83, 44.80, 97.11°)
OKLaboklab(53.98% -0.0199 0.0982)
OKLCHoklch(53.98% 0.1 101.4)
XYZxyz(14.1975, 15.8937, 3.5480)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B701E #1E297B
analogous
#7B411E #7B701E #587B1E
triadic
#7B701E #1E7B70 #701E7B
tetradic
#7B701E #1E7B41 #1E297B #7B1E58
square
#7B701E #1E7B41 #1E297B #7B1E58
split-complementary
#7B701E #1E587B #411E7B
monochromatic
#191606 #4A4312 #7B701E #AC9D2A #D1C042

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7b701e;
/* rgb */ color: rgb(123, 112, 30);
/* oklch */ color: oklch(54.0% 0.100 101.4);
Tailwind
colors: {
  custom: {
    50: '#a49860',
    500: '#7b701e',
    950: '#000000',
  },
}
SCSS
$custom: #7b701e;
$custom-light: #a49860;
$custom-dark: #000000;
JSON
{
  "hex": "#7b701e",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 52.903,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.10023,
    "h": 101.4
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#7B701E
secondary
#4653AE
accent
#57E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B701E

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

Preview Lab → · Contrast checker → · Palette generator →

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