#7A811E#7A811E

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

Color values

HEX#7A811E
RGBrgb(122, 129, 30)
HSLhsl(64, 62%, 31%)
HSVhsv(64, 77%, 51%)
CMYKcmyk(5.4%, 0%, 76.7%, 49.4%)
CIE-LABlab(51.76, -15.36, 49.11)
CIE-LCHlch(51.76, 51.45, 107.36°)
OKLaboklab(57.89% -0.0473 0.1081)
OKLCHoklch(57.89% 0.118 113.6)
XYZxyz(16.1111, 19.9322, 4.2266)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A811E #251E81
analogous
#81561E #7A811E #48811E
triadic
#7A811E #1E7A81 #811E7A
tetradic
#7A811E #1E8156 #251E81 #811E48
square
#7A811E #1E8156 #251E81 #811E48
split-complementary
#7A811E #1E4881 #561E81
monochromatic
#1C1E07 #4B4F12 #7A811E #A9B32A #CAD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A811E#FFFFFF#000000##000000
##7A811E1.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)
#8B7A08
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#83796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a811e;
/* rgb */ color: rgb(122, 129, 30);
/* oklch */ color: oklch(57.9% 0.118 113.6);
Tailwind
colors: {
  custom: {
    50: '#a3a562',
    500: '#7a811e',
    950: '#000000',
  },
}
SCSS
$custom: #7a811e;
$custom-light: #a3a562;
$custom-dark: #000000;
JSON
{
  "hex": "#7a811e",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 64.242,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57888,
    "c": 0.11802,
    "h": 113.6
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#7A811E
secondary
#4E47B4
accent
#42E54E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A811E

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

Preview Lab → · Contrast checker → · Palette generator →

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