#A8A230#A8A230

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

Color values

HEX#A8A230
RGBrgb(168, 162, 48)
HSLhsl(57, 56%, 42%)
HSVhsv(57, 71%, 66%)
CMYKcmyk(0%, 3.6%, 71.4%, 34.1%)
CIE-LABlab(65.26, -11.35, 56.79)
CIE-LCHlch(65.26, 57.91, 101.30°)
OKLaboklab(69.66% -0.0369 0.1261)
OKLCHoklch(69.66% 0.131 106.3)
XYZxyz(29.6034, 34.3799, 7.8723)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A230 #3036A8
analogous
#A86630 #A8A230 #72A830
triadic
#A8A230 #30A8A2 #A230A8
tetradic
#A8A230 #30A866 #3036A8 #A83072
square
#A8A230 #30A866 #3036A8 #A83072
split-complementary
#A8A230 #3072A8 #6630A8
monochromatic
#494615 #787422 #A8A230 #CBC54A #D9D47A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A230#FFFFFF#000000##000000
##A8A2301.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)
#B09C1D
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a230;
/* rgb */ color: rgb(168, 162, 48);
/* oklch */ color: oklch(69.7% 0.131 106.3);
Tailwind
colors: {
  custom: {
    50: '#c5bd70',
    500: '#a8a230',
    950: '#000000',
  },
}
SCSS
$custom: #a8a230;
$custom-light: #c5bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a230",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 57,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69665,
    "c": 0.13136,
    "h": 106.3
  },
  "luminance": 0.34379
}

Semantic roles & 50–950 ramp

primary
#A8A230
secondary
#7377C1
accent
#50DF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A230

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

Preview Lab → · Contrast checker → · Palette generator →

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