#7A811D#7A811D

#7A811D is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.9% C 0.119 H 113.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7A811D
RGBrgb(122, 129, 29)
HSLhsl(64, 63%, 31%)
HSVhsv(64, 78%, 51%)
CMYKcmyk(5.4%, 0%, 77.5%, 49.4%)
CIE-LABlab(51.75, -15.40, 49.46)
CIE-LCHlch(51.75, 51.80, 107.30°)
OKLaboklab(57.88% -0.0475 0.1087)
OKLCHoklch(57.88% 0.119 113.6)
XYZxyz(16.0986, 19.9271, 4.1604)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A811D #241D81
analogous
#81561D #7A811D #48811D
triadic
#7A811D #1D7A81 #811D7A
tetradic
#7A811D #1D8156 #241D81 #811D48
square
#7A811D #1D8156 #241D81 #811D48
split-complementary
#7A811D #1D4881 #561D81
monochromatic
#1B1D07 #4B4F12 #7A811D #A9B328 #CBD544

Accessibility & contrast

On white

4.21
#7A811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7A811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A811D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A811D#FFFFFF#000000##000000
##7A811D1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A05
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#83796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a811d;
/* rgb */ color: rgb(122, 129, 29);
/* oklch */ color: oklch(57.9% 0.119 113.6);
Tailwind
colors: {
  custom: {
    50: '#a4a562',
    500: '#7a811d',
    950: '#000000',
  },
}
SCSS
$custom: #7a811d;
$custom-light: #a4a562;
$custom-dark: #000000;
JSON
{
  "hex": "#7a811d",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 64.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57881,
    "c": 0.11861,
    "h": 113.6
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#7A811D
secondary
#4D46B4
accent
#41E64D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A811D

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

Preview Lab → · Contrast checker → · Palette generator →

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