#7A8519#7A8519

#7A8519 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.125 H 115.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7A8519
RGBrgb(122, 133, 25)
HSLhsl(66, 68%, 31%)
HSVhsv(66, 81%, 52%)
CMYKcmyk(8.3%, 0%, 81.2%, 47.8%)
CIE-LABlab(52.93, -17.69, 51.83)
CIE-LCHlch(52.93, 54.77, 108.84°)
OKLaboklab(58.82% -0.0542 0.113)
OKLCHoklch(58.82% 0.125 115.6)
XYZxyz(16.5895, 20.9831, 4.0957)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8519 #241985
analogous
#855A19 #7A8519 #448519
triadic
#7A8519 #197A85 #85197A
tetradic
#7A8519 #19855A #241985 #851944
square
#7A8519 #19855A #241985 #851944
split-complementary
#7A8519 #194485 #5A1985
monochromatic
#1B1E06 #4B510F #7A8519 #A9B923 #CBDB3E

Accessibility & contrast

On white

4.04
#7A8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7A8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8519
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8519#FFFFFF#000000##000000
##7A85191.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#827D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a8519;
/* rgb */ color: rgb(122, 133, 25);
/* oklch */ color: oklch(58.8% 0.125 115.6);
Tailwind
colors: {
  custom: {
    50: '#a4a861',
    500: '#7a8519',
    950: '#000000',
  },
}
SCSS
$custom: #7a8519;
$custom-light: #a4a861;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8519",
  "rgb": {
    "r": 122,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 66.111,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.1253,
    "h": 115.6
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#7A8519
secondary
#4D41B9
accent
#3DEB4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A8519

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

Preview Lab → · Contrast checker → · Palette generator →

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