#7A8719#7A8719

#7A8719 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.128 H 116.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7A8719
RGBrgb(122, 135, 25)
HSLhsl(67, 69%, 31%)
HSVhsv(67, 81%, 53%)
CMYKcmyk(9.6%, 0%, 81.5%, 47.1%)
CIE-LABlab(53.53, -18.73, 52.37)
CIE-LCHlch(53.53, 55.62, 109.68°)
OKLaboklab(59.3% -0.0571 0.1141)
OKLCHoklch(59.3% 0.128 116.6)
XYZxyz(16.8659, 21.5359, 4.1879)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8719 #261987
analogous
#875D19 #7A8719 #438719
triadic
#7A8719 #197A87 #87197A
tetradic
#7A8719 #19875D #261987 #871943
square
#7A8719 #19875D #261987 #871943
split-complementary
#7A8719 #194387 #5D1987
monochromatic
#1D2006 #4B530F #7A8719 #A9BB23 #C9DB3F

Accessibility & contrast

On white

3.96
#7A8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7A8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8719
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8719#FFFFFF#000000##000000
##7A87191.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#827F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a8719;
/* rgb */ color: rgb(122, 135, 25);
/* oklch */ color: oklch(59.3% 0.128 116.6);
Tailwind
colors: {
  custom: {
    50: '#a4a961',
    500: '#7a8719',
    950: '#000000',
  },
}
SCSS
$custom: #7a8719;
$custom-light: #a4a961;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8719",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 67.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59301,
    "c": 0.1276,
    "h": 116.6
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

primary
#7A8719
secondary
#5041BA
accent
#3CEC51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A8719

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

Preview Lab → · Contrast checker → · Palette generator →

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