#7A801E#7A801E

#7A801E 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#7A801E
RGBrgb(122, 128, 30)
HSLhsl(64, 62%, 31%)
HSVhsv(64, 77%, 50%)
CMYKcmyk(4.7%, 0%, 76.6%, 49.8%)
CIE-LABlab(51.46, -14.82, 48.83)
CIE-LCHlch(51.46, 51.03, 106.89°)
OKLaboklab(57.65% -0.0458 0.1075)
OKLCHoklch(57.65% 0.117 113.1)
XYZxyz(15.9801, 19.6700, 4.1829)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A801E #241E80
analogous
#80551E #7A801E #49801E
triadic
#7A801E #1E7A80 #801E7A
tetradic
#7A801E #1E8055 #241E80 #801E49
square
#7A801E #1E8055 #241E80 #801E49
split-complementary
#7A801E #1E4980 #551E80
monochromatic
#1B1D07 #4B4E12 #7A801E #A9B22A #CBD345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7a801e;
/* rgb */ color: rgb(122, 128, 30);
/* oklch */ color: oklch(57.6% 0.117 113.1);
Tailwind
colors: {
  custom: {
    50: '#a3a462',
    500: '#7a801e',
    950: '#000000',
  },
}
SCSS
$custom: #7a801e;
$custom-light: #a3a462;
$custom-dark: #000000;
JSON
{
  "hex": "#7a801e",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 63.673,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.11689,
    "h": 113.1
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#7A801E
secondary
#4D47B3
accent
#43E54D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A801E

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

Preview Lab → · Contrast checker → · Palette generator →

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