#A8A232#A8A232

#A8A232 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.130 H 106.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A8A232
RGBrgb(168, 162, 50)
HSLhsl(57, 54%, 43%)
HSVhsv(57, 70%, 66%)
CMYKcmyk(0%, 3.6%, 70.2%, 34.1%)
CIE-LABlab(65.28, -11.24, 56.04)
CIE-LCHlch(65.28, 57.15, 101.34°)
OKLaboklab(69.68% -0.0365 0.1248)
OKLCHoklch(69.68% 0.13 106.3)
XYZxyz(29.6456, 34.3968, 8.0946)
Luminance0.3440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A232 #3238A8
analogous
#A86732 #A8A232 #73A832
triadic
#A8A232 #32A8A2 #A232A8
tetradic
#A8A232 #32A867 #3238A8 #A83273
square
#A8A232 #32A867 #3238A8 #A83273
split-complementary
#A8A232 #3273A8 #6732A8
monochromatic
#4A4716 #797524 #A8A232 #CAC44D #D8D37C

Accessibility & contrast

On white

2.67
#A8A232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A8A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A232
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A232#FFFFFF#000000##000000
##A8A2321.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C20
Deuteranopia (green-blind)
#B2A13A
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a232;
/* rgb */ color: rgb(168, 162, 50);
/* oklch */ color: oklch(69.7% 0.130 106.3);
Tailwind
colors: {
  custom: {
    50: '#c5bd71',
    500: '#a8a232',
    950: '#000000',
  },
}
SCSS
$custom: #a8a232;
$custom-light: #c5bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a232",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 56.949,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6968,
    "c": 0.13004,
    "h": 106.3
  },
  "luminance": 0.34396
}

Semantic roles & 50–950 ramp

primary
#A8A232
secondary
#7579C1
accent
#52DD4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A232

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

Preview Lab → · Contrast checker → · Palette generator →

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