#7A8428#7A8428

#7A8428 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.115 H 115.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7A8428
RGBrgb(122, 132, 40)
HSLhsl(67, 53%, 34%)
HSVhsv(67, 70%, 52%)
CMYKcmyk(7.6%, 0%, 69.7%, 48.2%)
CIE-LABlab(52.72, -16.39, 46.19)
CIE-LCHlch(52.72, 49.01, 109.54°)
OKLaboklab(58.68% -0.0492 0.1038)
OKLCHoklch(58.68% 0.115 115.4)
XYZxyz(16.6607, 20.7936, 5.1430)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8428 #322884
analogous
#846028 #7A8428 #4C8428
triadic
#7A8428 #287A84 #84287A
tetradic
#7A8428 #288460 #322884 #84284C
square
#7A8428 #288460 #322884 #84284C
split-complementary
#7A8428 #284C84 #602884
monochromatic
#23260C #4F551A #7A8428 #A5B336 #C0CD5A

Accessibility & contrast

On white

4.07
#7A8428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7A8428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8428
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8428#FFFFFF#000000##000000
##7A84281.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#827C72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a8428;
/* rgb */ color: rgb(122, 132, 40);
/* oklch */ color: oklch(58.7% 0.115 115.4);
Tailwind
colors: {
  custom: {
    50: '#a3a768',
    500: '#7a8428',
    950: '#000000',
  },
}
SCSS
$custom: #7a8428;
$custom-light: #a3a768;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8428",
  "rgb": {
    "r": 122,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 66.522,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58681,
    "c": 0.11485,
    "h": 115.4
  },
  "luminance": 0.20793
}

Semantic roles & 50–950 ramp

primary
#7A8428
secondary
#6056B2
accent
#4BDD5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8428

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

Preview Lab → · Contrast checker → · Palette generator →

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