#7A802E#7A802E

#7A802E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.105 H 113.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7A802E
RGBrgb(122, 128, 46)
HSLhsl(64, 47%, 34%)
HSVhsv(64, 64%, 50%)
CMYKcmyk(4.7%, 0%, 64.1%, 49.8%)
CIE-LABlab(51.58, -13.85, 42.38)
CIE-LCHlch(51.58, 44.59, 108.10°)
OKLaboklab(57.78% -0.0414 0.0967)
OKLCHoklch(57.78% 0.105 113.2)
XYZxyz(16.2388, 19.7735, 5.5455)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A802E #342E80
analogous
#805D2E #7A802E #51802E
triadic
#7A802E #2E7A80 #802E7A
tetradic
#7A802E #2E805D #342E80 #802E51
square
#7A802E #2E805D #342E80 #802E51
split-complementary
#7A802E #2E5180 #5D2E80
monochromatic
#24260E #4F531E #7A802E #A5AD3E #BFC762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A802E#FFFFFF#000000##000000
##7A802E1.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)
#897A24
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#82796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a802e;
/* rgb */ color: rgb(122, 128, 46);
/* oklch */ color: oklch(57.8% 0.105 113.2);
Tailwind
colors: {
  custom: {
    50: '#a3a46b',
    500: '#7a802e',
    950: '#000000',
  },
}
SCSS
$custom: #7a802e;
$custom-light: #a3a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a802e",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 64.39,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.1052,
    "h": 113.2
  },
  "luminance": 0.19773
}

Semantic roles & 50–950 ramp

primary
#7A802E
secondary
#635DAD
accent
#51D75B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7A802E

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

Preview Lab → · Contrast checker → · Palette generator →

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