#7B702C#7B702C

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

Color values

HEX#7B702C
RGBrgb(123, 112, 44)
HSLhsl(52, 47%, 33%)
HSVhsv(52, 64%, 48%)
CMYKcmyk(0%, 8.9%, 64.2%, 51.8%)
CIE-LABlab(46.95, -4.68, 38.34)
CIE-LCHlch(46.95, 38.62, 96.96°)
OKLaboklab(54.11% -0.0157 0.0878)
OKLCHoklch(54.11% 0.089 100.2)
XYZxyz(14.4177, 15.9818, 4.7077)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B702C #2C377B
analogous
#7B492C #7B702C #5E7B2C
triadic
#7B702C #2C7B70 #702C7B
tetradic
#7B702C #2C7B49 #2C377B #7B2C5E
square
#7B702C #2C7B49 #2C377B #7B2C5E
split-complementary
#7B702C #2C5E7B #492C7B
monochromatic
#211E0C #4E471C #7B702C #A8993C #C5B65D

Accessibility & contrast

On white

5.00
#7B702C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7B702C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B702C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B702C#FFFFFF#000000##FFFFFF
##7B702C1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b702c;
/* rgb */ color: rgb(123, 112, 44);
/* oklch */ color: oklch(54.1% 0.089 100.2);
Tailwind
colors: {
  custom: {
    50: '#a49868',
    500: '#7b702c',
    950: '#000000',
  },
}
SCSS
$custom: #7b702c;
$custom-light: #a49868;
$custom-dark: #000000;
JSON
{
  "hex": "#7b702c",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 51.646,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.0892,
    "h": 100.2
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#7B702C
secondary
#5863AB
accent
#64D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7B702C

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

Preview Lab → · Contrast checker → · Palette generator →

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