#A8B320#A8B320

#A8B320 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.157 H 114.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#A8B320
RGBrgb(168, 179, 32)
HSLhsl(64, 70%, 41%)
HSVhsv(64, 82%, 70%)
CMYKcmyk(6.1%, 0%, 82.1%, 29.8%)
CIE-LABlab(69.94, -20.70, 66.19)
CIE-LCHlch(69.94, 69.35, 107.37°)
OKLaboklab(73.38% -0.0643 0.1432)
OKLCHoklch(73.38% 0.157 114.2)
XYZxyz(32.5303, 40.6700, 7.5027)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B320 #2B20B3
analogous
#B37520 #A8B320 #5FB320
triadic
#A8B320 #20A8B3 #B320A8
tetradic
#A8B320 #20B375 #2B20B3 #B3205F
square
#A8B320 #20B375 #2B20B3 #B3205F
split-complementary
#A8B320 #205FB3 #7520B3
monochromatic
#474B0D #777F17 #A8B320 #CFDB35 #DBE469

Accessibility & contrast

On white

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

On black

9.13
#A8B320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B320
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B320#FFFFFF#000000##000000
##A8B3201.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b320;
/* rgb */ color: rgb(168, 179, 32);
/* oklch */ color: oklch(73.4% 0.157 114.2);
Tailwind
colors: {
  custom: {
    50: '#c6c96b',
    500: '#a8b320',
    950: '#000000',
  },
}
SCSS
$custom: #a8b320;
$custom-light: #c6c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b320",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 32
  },
  "hsl": {
    "h": 64.49,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.73382,
    "c": 0.15696,
    "h": 114.2
  },
  "luminance": 0.40669
}

Semantic roles & 50–950 ramp

primary
#A8B320
secondary
#6C65CA
accent
#3BEC49
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A8B320

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

Preview Lab → · Contrast checker → · Palette generator →

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