#A7B428#A7B428

#A7B428 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.6% C 0.155 H 115.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#A7B428
RGBrgb(167, 180, 40)
HSLhsl(66, 64%, 43%)
HSVhsv(66, 78%, 71%)
CMYKcmyk(7.2%, 0%, 77.8%, 29.4%)
CIE-LABlab(70.18, -21.34, 64.12)
CIE-LCHlch(70.18, 67.58, 108.41°)
OKLaboklab(73.57% -0.0655 0.1402)
OKLCHoklch(73.57% 0.155 115)
XYZxyz(32.6416, 41.0118, 8.2036)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B428 #3528B4
analogous
#B47B28 #A7B428 #61B428
triadic
#A7B428 #28A7B4 #B428A7
tetradic
#A7B428 #28B47B #3528B4 #B42861
square
#A7B428 #28B47B #3528B4 #B42861
split-complementary
#A7B428 #2861B4 #7B28B4
monochromatic
#4A5012 #79821D #A7B428 #C8D544 #D7E176

Accessibility & contrast

On white

2.28
#A7B428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#A7B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B428
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B428#FFFFFF#000000##000000
##A7B4281.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C0AD35
Tritanopia (blue-blind)
#B2A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b428;
/* rgb */ color: rgb(167, 180, 40);
/* oklch */ color: oklch(73.6% 0.155 115.0);
Tailwind
colors: {
  custom: {
    50: '#c5ca6e',
    500: '#a7b428',
    950: '#000000',
  },
}
SCSS
$custom: #a7b428;
$custom-light: #c5ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b428",
  "rgb": {
    "r": 167,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 65.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73567,
    "c": 0.15472,
    "h": 115
  },
  "luminance": 0.41011
}

Semantic roles & 50–950 ramp

primary
#A7B428
secondary
#7870C8
accent
#41E751
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B428

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

Preview Lab → · Contrast checker → · Palette generator →

#A7B428 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva