#7A8928#7A8928

#7A8928 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 59.9% C 0.121 H 117.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7A8928
RGBrgb(122, 137, 40)
HSLhsl(69, 55%, 35%)
HSVhsv(69, 71%, 54%)
CMYKcmyk(10.9%, 0%, 70.8%, 46.3%)
CIE-LABlab(54.22, -19.01, 47.70)
CIE-LCHlch(54.22, 51.35, 111.73°)
OKLaboklab(59.88% -0.0565 0.107)
OKLCHoklch(59.88% 0.121 117.8)
XYZxyz(17.3551, 22.1823, 5.3744)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8928 #372889
analogous
#896728 #7A8928 #4A8928
triadic
#7A8928 #287A89 #89287A
tetradic
#7A8928 #288967 #372889 #89284A
square
#7A8928 #288967 #372889 #89284A
split-complementary
#7A8928 #284A89 #672889
monochromatic
#262A0C #505A1A #7A8928 #A4B836 #BECF5C

Accessibility & contrast

On white

3.86
#7A8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7A8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8928
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8928#FFFFFF#000000##000000
##7A89281.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928119
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#818176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8928;
/* rgb */ color: rgb(122, 137, 40);
/* oklch */ color: oklch(59.9% 0.121 117.8);
Tailwind
colors: {
  custom: {
    50: '#a3ab68',
    500: '#7a8928',
    950: '#000000',
  },
}
SCSS
$custom: #7a8928;
$custom-light: #a3ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8928",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 69.278,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.12096,
    "h": 117.8
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#7A8928
secondary
#6658B5
accent
#4ADE61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A8928

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

Preview Lab → · Contrast checker → · Palette generator →

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