#A8B332#A8B332

#A8B332 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.148 H 114.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A8B332
RGBrgb(168, 179, 50)
HSLhsl(65, 56%, 45%)
HSVhsv(65, 72%, 70%)
CMYKcmyk(6.1%, 0%, 72.1%, 29.8%)
CIE-LABlab(70.03, -19.96, 60.69)
CIE-LCHlch(70.03, 63.89, 108.20°)
OKLaboklab(73.48% -0.0608 0.1347)
OKLCHoklch(73.48% 0.148 114.3)
XYZxyz(32.8452, 40.7959, 9.1612)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B332 #3D32B3
analogous
#B37D32 #A8B332 #68B332
triadic
#A8B332 #32A8B3 #B332A8
tetradic
#A8B332 #32B37D #3D32B3 #B33268
square
#A8B332 #32B37D #3D32B3 #B33268
split-complementary
#A8B332 #3268B3 #7D32B3
monochromatic
#4E5317 #7B8325 #A8B332 #C4CF53 #D5DC83

Accessibility & contrast

On white

2.29
#A8B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A8B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B332
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B332#FFFFFF#000000##000000
##A8B3321.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1A
Deuteranopia (green-blind)
#C0AC3C
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b332;
/* rgb */ color: rgb(168, 179, 50);
/* oklch */ color: oklch(73.5% 0.148 114.3);
Tailwind
colors: {
  custom: {
    50: '#c5c973',
    500: '#a8b332',
    950: '#000000',
  },
}
SCSS
$custom: #a8b332;
$custom-light: #c5c973;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b332",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 65.116,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73481,
    "c": 0.14776,
    "h": 114.3
  },
  "luminance": 0.40795
}

Semantic roles & 50–950 ramp

primary
#A8B332
secondary
#817BC6
accent
#48E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B332

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

Preview Lab → · Contrast checker → · Palette generator →

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