#7A801D#7A801D

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

Color values

HEX#7A801D
RGBrgb(122, 128, 29)
HSLhsl(64, 63%, 31%)
HSVhsv(64, 77%, 50%)
CMYKcmyk(4.7%, 0%, 77.3%, 49.8%)
CIE-LABlab(51.46, -14.87, 49.18)
CIE-LCHlch(51.46, 51.38, 106.82°)
OKLaboklab(57.64% -0.046 0.1081)
OKLCHoklch(57.64% 0.117 113.1)
XYZxyz(15.9675, 19.6650, 4.1167)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A801D #231D80
analogous
#80541D #7A801D #48801D
triadic
#7A801D #1D7A80 #801D7A
tetradic
#7A801D #1D8054 #231D80 #801D48
square
#7A801D #1D8054 #231D80 #801D48
split-complementary
#7A801D #1D4880 #541D80
monochromatic
#1B1C06 #4A4E12 #7A801D #AAB228 #CCD443

Accessibility & contrast

On white

4.26
#7A801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7A801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A801D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A801D#FFFFFF#000000##000000
##7A801D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a801d;
/* rgb */ color: rgb(122, 128, 29);
/* oklch */ color: oklch(57.6% 0.117 113.1);
Tailwind
colors: {
  custom: {
    50: '#a4a462',
    500: '#7a801d',
    950: '#000000',
  },
}
SCSS
$custom: #7a801d;
$custom-light: #a4a462;
$custom-dark: #000000;
JSON
{
  "hex": "#7a801d",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 63.636,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57642,
    "c": 0.11749,
    "h": 113.1
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#7A801D
secondary
#4C45B3
accent
#42E64C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A801D

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

Preview Lab → · Contrast checker → · Palette generator →

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