#7A8219#7A8219

#7A8219 is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.122 H 114.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7A8219
RGBrgb(122, 130, 25)
HSLhsl(65, 68%, 30%)
HSVhsv(65, 81%, 51%)
CMYKcmyk(6.2%, 0%, 80.8%, 49%)
CIE-LABlab(52.03, -16.11, 51.03)
CIE-LCHlch(52.03, 53.51, 107.52°)
OKLaboklab(58.1% -0.0498 0.1113)
OKLCHoklch(58.1% 0.122 114.1)
XYZxyz(16.1846, 20.1734, 3.9608)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8219 #211982
analogous
#825519 #7A8219 #468219
triadic
#7A8219 #197A82 #82197A
tetradic
#7A8219 #198255 #211982 #821946
square
#7A8219 #198255 #211982 #821946
split-complementary
#7A8219 #194682 #551982
monochromatic
#1A1B05 #4A4F0F #7A8219 #AAB523 #CDD93C

Accessibility & contrast

On white

4.17
#7A8219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7A8219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8219
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8219#FFFFFF#000000##000000
##7A82191.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#837A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7a8219;
/* rgb */ color: rgb(122, 130, 25);
/* oklch */ color: oklch(58.1% 0.122 114.1);
Tailwind
colors: {
  custom: {
    50: '#a4a660',
    500: '#7a8219',
    950: '#000000',
  },
}
SCSS
$custom: #7a8219;
$custom-light: #a4a660;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8219",
  "rgb": {
    "r": 122,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 64.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.1219,
    "h": 114.1
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#7A8219
secondary
#4A41B6
accent
#3DEB4A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8219

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

Preview Lab → · Contrast checker → · Palette generator →

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