#A7B321#A7B321

#A7B321 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.157 H 114.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#A7B321
RGBrgb(167, 179, 33)
HSLhsl(65, 69%, 42%)
HSVhsv(65, 82%, 70%)
CMYKcmyk(6.7%, 0%, 81.6%, 29.8%)
CIE-LABlab(69.87, -21.10, 65.83)
CIE-LCHlch(69.87, 69.13, 107.77°)
OKLaboklab(73.3% -0.0653 0.1426)
OKLCHoklch(73.3% 0.157 114.6)
XYZxyz(32.3320, 40.5661, 7.5654)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B321 #2D21B3
analogous
#B37621 #A7B321 #5EB321
triadic
#A7B321 #21A7B3 #B321A7
tetradic
#A7B321 #21B376 #2D21B3 #B3215E
square
#A7B321 #21B376 #2D21B3 #B3215E
split-complementary
#A7B321 #215EB3 #7621B3
monochromatic
#474C0E #777F17 #A7B321 #CDDA37 #DAE46B

Accessibility & contrast

On white

2.30
#A7B321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#A7B321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B321
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B321#FFFFFF#000000##000000
##A7B3211.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC30
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b321;
/* rgb */ color: rgb(167, 179, 33);
/* oklch */ color: oklch(73.3% 0.157 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5c96b',
    500: '#a7b321',
    950: '#000000',
  },
}
SCSS
$custom: #a7b321;
$custom-light: #c5c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b321",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 64.932,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.73305,
    "c": 0.15686,
    "h": 114.6
  },
  "luminance": 0.40565
}

Semantic roles & 50–950 ramp

primary
#A7B321
secondary
#6E66CA
accent
#3CEC4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B321

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

Preview Lab → · Contrast checker → · Palette generator →

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