#7A8724#7A8724

#7A8724 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.121 H 116.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A8724
RGBrgb(122, 135, 36)
HSLhsl(68, 58%, 34%)
HSVhsv(68, 73%, 53%)
CMYKcmyk(9.6%, 0%, 73.3%, 47.1%)
CIE-LABlab(53.59, -18.21, 48.65)
CIE-LCHlch(53.59, 51.95, 110.52°)
OKLaboklab(59.37% -0.0546 0.1083)
OKLCHoklch(59.37% 0.121 116.8)
XYZxyz(17.0089, 21.5931, 4.9406)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8724 #312487
analogous
#876224 #7A8724 #488724
triadic
#7A8724 #247A87 #87247A
tetradic
#7A8724 #248762 #312487 #872448
square
#7A8724 #248762 #312487 #872448
split-complementary
#7A8724 #244887 #622487
monochromatic
#23260A #4E5717 #7A8724 #A6B731 #C1D154

Accessibility & contrast

On white

3.95
#7A8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7A8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8724
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8724#FFFFFF#000000##000000
##7A87241.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918012
Deuteranopia (green-blind)
#8F812C
Tritanopia (blue-blind)
#827F74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a8724;
/* rgb */ color: rgb(122, 135, 36);
/* oklch */ color: oklch(59.4% 0.121 116.8);
Tailwind
colors: {
  custom: {
    50: '#a3a966',
    500: '#7a8724',
    950: '#000000',
  },
}
SCSS
$custom: #7a8724;
$custom-light: #a3a966;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8724",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 67.879,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5937,
    "c": 0.12127,
    "h": 116.8
  },
  "luminance": 0.21593
}

Semantic roles & 50–950 ramp

primary
#7A8724
secondary
#5E51B5
accent
#47E15B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A8724

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

Preview Lab → · Contrast checker → · Palette generator →

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