#A7B320#A7B320

#A7B320 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#A7B320
RGBrgb(167, 179, 32)
HSLhsl(65, 70%, 41%)
HSVhsv(65, 82%, 70%)
CMYKcmyk(6.7%, 0%, 82.1%, 29.8%)
CIE-LABlab(69.87, -21.13, 66.09)
CIE-LCHlch(69.87, 69.39, 107.73°)
OKLaboklab(73.3% -0.0655 0.143)
OKLCHoklch(73.3% 0.157 114.6)
XYZxyz(32.3182, 40.5606, 7.4927)
Luminance0.4056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B320 #2C20B3
analogous
#B37620 #A7B320 #5EB320
triadic
#A7B320 #20A7B3 #B320A7
tetradic
#A7B320 #20B376 #2C20B3 #B3205E
square
#A7B320 #20B376 #2C20B3 #B3205E
split-complementary
#A7B320 #205EB3 #7620B3
monochromatic
#464B0D #777F17 #A7B320 #CDDB35 #DAE469

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B320#FFFFFF#000000##000000
##A7B3201.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)
#C0AC2F
Tritanopia (blue-blind)
#B3A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b320;
/* rgb */ color: rgb(167, 179, 32);
/* oklch */ color: oklch(73.3% 0.157 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5c96b',
    500: '#a7b320',
    950: '#000000',
  },
}
SCSS
$custom: #a7b320;
$custom-light: #c5c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b320",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 32
  },
  "hsl": {
    "h": 64.898,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.73301,
    "c": 0.15727,
    "h": 114.6
  },
  "luminance": 0.4056
}

Semantic roles & 50–950 ramp

primary
#A7B320
secondary
#6D65CA
accent
#3BEC4A
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A7B320

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

Preview Lab → · Contrast checker → · Palette generator →

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