#7B7920#7B7920

#7B7920 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.108 H 108.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B7920
RGBrgb(123, 121, 32)
HSLhsl(59, 59%, 30%)
HSVhsv(59, 74%, 48%)
CMYKcmyk(0%, 1.6%, 74%, 51.8%)
CIE-LABlab(49.48, -10.47, 46.23)
CIE-LCHlch(49.48, 47.40, 102.76°)
OKLaboklab(56.09% -0.0335 0.1024)
OKLCHoklch(56.09% 0.108 108.1)
XYZxyz(15.2670, 17.9905, 4.0345)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7920 #20227B
analogous
#7B4B20 #7B7920 #507B20
triadic
#7B7920 #207B79 #79207B
tetradic
#7B7920 #207B4B #20227B #7B2050
square
#7B7920 #207B4B #20227B #7B2050
split-complementary
#7B7920 #20507B #4B207B
monochromatic
#1A1907 #4A4913 #7B7920 #ACA92D #CFCC46

Accessibility & contrast

On white

4.57
#7B7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B7920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7920
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7920#FFFFFF#000000##000000
##7B79201.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837410
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7920;
/* rgb */ color: rgb(123, 121, 32);
/* oklch */ color: oklch(56.1% 0.108 108.1);
Tailwind
colors: {
  custom: {
    50: '#a49f62',
    500: '#7b7920',
    950: '#000000',
  },
}
SCSS
$custom: #7b7920;
$custom-light: #a49f62;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7920",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 58.681,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56093,
    "c": 0.10772,
    "h": 108.1
  },
  "luminance": 0.1799
}

Semantic roles & 50–950 ramp

primary
#7B7920
secondary
#494BAE
accent
#49E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7920

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

Preview Lab → · Contrast checker → · Palette generator →

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