#7A841D#7A841D

#7A841D is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.122 H 115.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7A841D
RGBrgb(122, 132, 29)
HSLhsl(66, 64%, 32%)
HSVhsv(66, 78%, 52%)
CMYKcmyk(7.6%, 0%, 78%, 48.2%)
CIE-LABlab(52.65, -16.99, 50.29)
CIE-LCHlch(52.65, 53.08, 108.67°)
OKLaboklab(58.6% -0.0519 0.1104)
OKLCHoklch(58.6% 0.122 115.2)
XYZxyz(16.4995, 20.7291, 4.2941)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A841D #271D84
analogous
#845B1D #7A841D #47841D
triadic
#7A841D #1D7A84 #841D7A
tetradic
#7A841D #1D845B #271D84 #841D47
square
#7A841D #1D845B #271D84 #841D47
split-complementary
#7A841D #1D4784 #5B1D84
monochromatic
#1D2007 #4C5212 #7A841D #A8B628 #C8D645

Accessibility & contrast

On white

4.08
#7A841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7A841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A841D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A841D#FFFFFF#000000##000000
##7A841D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D04
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#827C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a841d;
/* rgb */ color: rgb(122, 132, 29);
/* oklch */ color: oklch(58.6% 0.122 115.2);
Tailwind
colors: {
  custom: {
    50: '#a4a762',
    500: '#7a841d',
    950: '#000000',
  },
}
SCSS
$custom: #7a841d;
$custom-light: #a4a762;
$custom-dark: #000000;
JSON
{
  "hex": "#7a841d",
  "rgb": {
    "r": 122,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 65.825,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.12204,
    "h": 115.2
  },
  "luminance": 0.20729
}

Semantic roles & 50–950 ramp

primary
#7A841D
secondary
#5146B7
accent
#41E751
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7A841D

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

Preview Lab → · Contrast checker → · Palette generator →

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