#7B702A#7B702A

#7B702A is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.091 H 100.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7B702A
RGBrgb(123, 112, 42)
HSLhsl(52, 49%, 32%)
HSVhsv(52, 66%, 48%)
CMYKcmyk(0%, 8.9%, 65.9%, 51.8%)
CIE-LABlab(46.93, -4.82, 39.28)
CIE-LCHlch(46.93, 39.57, 97.00°)
OKLaboklab(54.09% -0.0164 0.0895)
OKLCHoklch(54.09% 0.091 100.4)
XYZxyz(14.3811, 15.9671, 4.5145)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B702A #2A357B
analogous
#7B482A #7B702A #5D7B2A
triadic
#7B702A #2A7B70 #702A7B
tetradic
#7B702A #2A7B48 #2A357B #7B2A5D
square
#7B702A #2A7B48 #2A357B #7B2A5D
split-complementary
#7B702A #2A5D7B #482A7B
monochromatic
#201D0B #4D461A #7B702A #A99A3A #C6B759

Accessibility & contrast

On white

5.01
#7B702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7B702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B702A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B702A#FFFFFF#000000##FFFFFF
##7B702A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D22
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#846861
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b702a;
/* rgb */ color: rgb(123, 112, 42);
/* oklch */ color: oklch(54.1% 0.091 100.4);
Tailwind
colors: {
  custom: {
    50: '#a49867',
    500: '#7b702a',
    950: '#000000',
  },
}
SCSS
$custom: #7b702a;
$custom-light: #a49867;
$custom-dark: #000000;
JSON
{
  "hex": "#7b702a",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 51.852,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.09098,
    "h": 100.4
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#7B702A
secondary
#5561AC
accent
#62D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7B702A

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

Preview Lab → · Contrast checker → · Palette generator →

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