#7A861E#7A861E

#7A861E is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.124 H 116.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7A861E
RGBrgb(122, 134, 30)
HSLhsl(67, 63%, 32%)
HSVhsv(67, 78%, 53%)
CMYKcmyk(9%, 0%, 77.6%, 47.5%)
CIE-LABlab(53.26, -17.99, 50.51)
CIE-LCHlch(53.26, 53.62, 109.61°)
OKLaboklab(59.09% -0.0546 0.1111)
OKLCHoklch(59.09% 0.124 116.2)
XYZxyz(16.7859, 21.2818, 4.4516)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A861E #2A1E86
analogous
#865E1E #7A861E #46861E
triadic
#7A861E #1E7A86 #861E7A
tetradic
#7A861E #1E865E #2A1E86 #861E46
square
#7A861E #1E865E #2A1E86 #861E46
split-complementary
#7A861E #1E4686 #5E1E86
monochromatic
#1F2208 #4C5413 #7A861E #A8B829 #C6D648

Accessibility & contrast

On white

4.00
#7A861E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7A861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A861E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A861E#FFFFFF#000000##000000
##7A861E1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#827E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a861e;
/* rgb */ color: rgb(122, 134, 30);
/* oklch */ color: oklch(59.1% 0.124 116.2);
Tailwind
colors: {
  custom: {
    50: '#a4a963',
    500: '#7a861e',
    950: '#000000',
  },
}
SCSS
$custom: #7a861e;
$custom-light: #a4a963;
$custom-dark: #000000;
JSON
{
  "hex": "#7a861e",
  "rgb": {
    "r": 122,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 66.923,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.12378,
    "h": 116.2
  },
  "luminance": 0.21282
}

Semantic roles & 50–950 ramp

primary
#7A861E
secondary
#5547B8
accent
#41E654
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7A861E

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

Preview Lab → · Contrast checker → · Palette generator →

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