#7B7D20#7B7D20

#7B7D20 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.112 H 110.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7B7D20
RGBrgb(123, 125, 32)
HSLhsl(61, 59%, 31%)
HSVhsv(61, 74%, 49%)
CMYKcmyk(1.6%, 0%, 74.4%, 51%)
CIE-LABlab(50.67, -12.65, 47.37)
CIE-LCHlch(50.67, 49.03, 104.95°)
OKLaboklab(57.04% -0.0396 0.1048)
OKLCHoklch(57.04% 0.112 110.7)
XYZxyz(15.7632, 18.9829, 4.1999)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D20 #22207D
analogous
#7D5020 #7B7D20 #4C7D20
triadic
#7B7D20 #207B7D #7D207B
tetradic
#7B7D20 #207D50 #22207D #7D204C
square
#7B7D20 #207D50 #22207D #7D204C
split-complementary
#7B7D20 #204C7D #50207D
monochromatic
#1B1C07 #4B4C14 #7B7D20 #ABAE2C #CDD047

Accessibility & contrast

On white

4.38
#7B7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7B7D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D20
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D20#FFFFFF#000000##000000
##7B7D201.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770E
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#84756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7d20;
/* rgb */ color: rgb(123, 125, 32);
/* oklch */ color: oklch(57.0% 0.112 110.7);
Tailwind
colors: {
  custom: {
    50: '#a4a263',
    500: '#7b7d20',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d20;
$custom-light: #a4a263;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d20",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 61.29,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57037,
    "c": 0.11203,
    "h": 110.7
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#7B7D20
secondary
#4B49B0
accent
#45E249
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7B7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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