#7A8922#7A8922

#7A8922 is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.8% C 0.125 H 117.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7A8922
RGBrgb(122, 137, 34)
HSLhsl(69, 60%, 34%)
HSVhsv(69, 75%, 54%)
CMYKcmyk(10.9%, 0%, 75.2%, 46.3%)
CIE-LABlab(54.18, -19.35, 49.97)
CIE-LCHlch(54.18, 53.58, 111.17°)
OKLaboklab(59.84% -0.058 0.1107)
OKLCHoklch(59.84% 0.125 117.7)
XYZxyz(17.2608, 22.1446, 4.8781)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8922 #312289
analogous
#896422 #7A8922 #468922
triadic
#7A8922 #227A89 #89227A
tetradic
#7A8922 #228964 #312289 #892246
square
#7A8922 #228964 #312289 #892246
split-complementary
#7A8922 #224689 #642289
monochromatic
#23270A #4E5816 #7A8922 #A6BA2E #C1D451

Accessibility & contrast

On white

3.87
#7A8922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7A8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8922
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8922#FFFFFF#000000##000000
##7A89221.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810D
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#828175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8922;
/* rgb */ color: rgb(122, 137, 34);
/* oklch */ color: oklch(59.8% 0.125 117.7);
Tailwind
colors: {
  custom: {
    50: '#a3ab65',
    500: '#7a8922',
    950: '#000000',
  },
}
SCSS
$custom: #7a8922;
$custom-light: #a3ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8922",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 68.738,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59838,
    "c": 0.12496,
    "h": 117.7
  },
  "luminance": 0.22144
}

Semantic roles & 50–950 ramp

primary
#7A8922
secondary
#5E4FB8
accent
#44E35C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A8922

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

Preview Lab → · Contrast checker → · Palette generator →

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