#7B801A#7B801A

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

Color values

HEX#7B801A
RGBrgb(123, 128, 26)
HSLhsl(63, 66%, 30%)
HSVhsv(63, 80%, 50%)
CMYKcmyk(3.9%, 0%, 79.7%, 49.8%)
CIE-LABlab(51.52, -14.55, 50.28)
CIE-LCHlch(51.52, 52.34, 106.14°)
OKLaboklab(57.71% -0.0455 0.1098)
OKLCHoklch(57.71% 0.119 112.5)
XYZxyz(16.0745, 19.7243, 3.9375)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B801A #1F1A80
analogous
#80521A #7B801A #48801A
triadic
#7B801A #1A7B80 #801A7B
tetradic
#7B801A #1A8052 #1F1A80 #801A48
square
#7B801A #1A8052 #1F1A80 #801A48
split-complementary
#7B801A #1A4880 #521A80
monochromatic
#191A05 #4A4D10 #7B801A #ACB324 #D0D83D

Accessibility & contrast

On white

4.25
#7B801A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7B801A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B801A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B801A#FFFFFF#000000##000000
##7B801A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b801a;
/* rgb */ color: rgb(123, 128, 26);
/* oklch */ color: oklch(57.7% 0.119 112.5);
Tailwind
colors: {
  custom: {
    50: '#a4a460',
    500: '#7b801a',
    950: '#000000',
  },
}
SCSS
$custom: #7b801a;
$custom-light: #a4a460;
$custom-dark: #000000;
JSON
{
  "hex": "#7b801a",
  "rgb": {
    "r": 123,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 62.941,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.11886,
    "h": 112.5
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#7B801A
secondary
#4842B4
accent
#3FE947
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B801A

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

Preview Lab → · Contrast checker → · Palette generator →

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