#7A8419#7A8419

#7A8419 is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.124 H 115.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7A8419
RGBrgb(122, 132, 25)
HSLhsl(66, 68%, 31%)
HSVhsv(66, 81%, 52%)
CMYKcmyk(7.6%, 0%, 81.1%, 48.2%)
CIE-LABlab(52.63, -17.16, 51.57)
CIE-LCHlch(52.63, 54.35, 108.41°)
OKLaboklab(58.58% -0.0527 0.1124)
OKLCHoklch(58.58% 0.124 115.1)
XYZxyz(16.4533, 20.7106, 4.0503)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8419 #231984
analogous
#845819 #7A8419 #458419
triadic
#7A8419 #197A84 #84197A
tetradic
#7A8419 #198458 #231984 #841945
square
#7A8419 #198458 #231984 #841945
split-complementary
#7A8419 #194584 #581984
monochromatic
#1B1D06 #4A510F #7A8419 #AAB723 #CCDA3D

Accessibility & contrast

On white

4.08
#7A8419 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7A8419 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8419
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8419#FFFFFF#000000##000000
##7A84191.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#827C70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a8419;
/* rgb */ color: rgb(122, 132, 25);
/* oklch */ color: oklch(58.6% 0.124 115.1);
Tailwind
colors: {
  custom: {
    50: '#a4a760',
    500: '#7a8419',
    950: '#000000',
  },
}
SCSS
$custom: #7a8419;
$custom-light: #a4a760;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8419",
  "rgb": {
    "r": 122,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 65.607,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58578,
    "c": 0.12416,
    "h": 115.1
  },
  "luminance": 0.2071
}

Semantic roles & 50–950 ramp

primary
#7A8419
secondary
#4C41B8
accent
#3DEB4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A8419

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

Preview Lab → · Contrast checker → · Palette generator →

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