#7B801D#7B801D

#7B801D is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.117 H 112.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7B801D
RGBrgb(123, 128, 29)
HSLhsl(63, 63%, 31%)
HSVhsv(63, 77%, 50%)
CMYKcmyk(3.9%, 0%, 77.3%, 49.8%)
CIE-LABlab(51.54, -14.41, 49.29)
CIE-LCHlch(51.54, 51.35, 106.30°)
OKLaboklab(57.73% -0.0448 0.1083)
OKLCHoklch(57.73% 0.117 112.5)
XYZxyz(16.1098, 19.7384, 4.1234)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B801D #221D80
analogous
#80531D #7B801D #49801D
triadic
#7B801D #1D7B80 #801D7B
tetradic
#7B801D #1D8053 #221D80 #801D49
square
#7B801D #1D8053 #221D80 #801D49
split-complementary
#7B801D #1D4980 #531D80
monochromatic
#1B1C06 #4B4E12 #7B801D #ABB228 #CDD443

Accessibility & contrast

On white

4.24
#7B801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7B801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B801D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B801D#FFFFFF#000000##000000
##7B801D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#84786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b801d;
/* rgb */ color: rgb(123, 128, 29);
/* oklch */ color: oklch(57.7% 0.117 112.5);
Tailwind
colors: {
  custom: {
    50: '#a4a462',
    500: '#7b801d',
    950: '#000000',
  },
}
SCSS
$custom: #7b801d;
$custom-light: #a4a462;
$custom-dark: #000000;
JSON
{
  "hex": "#7b801d",
  "rgb": {
    "r": 123,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 63.03,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.11719,
    "h": 112.5
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#7B801D
secondary
#4B45B3
accent
#42E64A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7B801D

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

Preview Lab → · Contrast checker → · Palette generator →

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