#7B801E#7B801E

#7B801E 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#7B801E
RGBrgb(123, 128, 30)
HSLhsl(63, 62%, 31%)
HSVhsv(63, 77%, 50%)
CMYKcmyk(3.9%, 0%, 76.6%, 49.8%)
CIE-LABlab(51.55, -14.37, 48.94)
CIE-LCHlch(51.55, 51.00, 106.36°)
OKLaboklab(57.74% -0.0446 0.1077)
OKLCHoklch(57.74% 0.117 112.5)
XYZxyz(16.1224, 19.7434, 4.1896)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B801E #231E80
analogous
#80541E #7B801E #4A801E
triadic
#7B801E #1E7B80 #801E7B
tetradic
#7B801E #1E8054 #231E80 #801E4A
square
#7B801E #1E8054 #231E80 #801E4A
split-complementary
#7B801E #1E4A80 #541E80
monochromatic
#1C1D07 #4B4E12 #7B801E #ABB22A #CCD345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B801E#FFFFFF#000000##000000
##7B801E1.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)
#8A7A08
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#84786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b801e;
/* rgb */ color: rgb(123, 128, 30);
/* oklch */ color: oklch(57.7% 0.117 112.5);
Tailwind
colors: {
  custom: {
    50: '#a4a462',
    500: '#7b801e',
    950: '#000000',
  },
}
SCSS
$custom: #7b801e;
$custom-light: #a4a462;
$custom-dark: #000000;
JSON
{
  "hex": "#7b801e",
  "rgb": {
    "r": 123,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 63.061,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.1166,
    "h": 112.5
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#7B801E
secondary
#4C47B3
accent
#43E54B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7B801E

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

Preview Lab → · Contrast checker → · Palette generator →

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