#A5A230#A5A230

#A5A230 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.132 H 107.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A5A230
RGBrgb(165, 162, 48)
HSLhsl(58, 55%, 42%)
HSVhsv(58, 71%, 65%)
CMYKcmyk(0%, 1.8%, 70.9%, 35.3%)
CIE-LABlab(65.01, -12.66, 56.45)
CIE-LCHlch(65.01, 57.85, 102.64°)
OKLaboklab(69.4% -0.0405 0.1255)
OKLCHoklch(69.4% 0.132 107.9)
XYZxyz(28.9720, 34.0543, 7.8427)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A230 #3033A5
analogous
#A56830 #A5A230 #6DA530
triadic
#A5A230 #30A5A2 #A230A5
tetradic
#A5A230 #30A568 #3033A5 #A5306D
square
#A5A230 #30A568 #3033A5 #A5306D
split-complementary
#A5A230 #306DA5 #6830A5
monochromatic
#464514 #767322 #A5A230 #CAC748 #D8D578

Accessibility & contrast

On white

2.69
#A5A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A5A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A230
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A230#FFFFFF#000000##000000
##A5A2301.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B1D
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#B1978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a230;
/* rgb */ color: rgb(165, 162, 48);
/* oklch */ color: oklch(69.4% 0.132 107.9);
Tailwind
colors: {
  custom: {
    50: '#c3bd70',
    500: '#a5a230',
    950: '#000000',
  },
}
SCSS
$custom: #a5a230;
$custom-light: #c3bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a230",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 58.462,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69397,
    "c": 0.13182,
    "h": 107.9
  },
  "luminance": 0.34053
}

Semantic roles & 50–950 ramp

primary
#A5A230
secondary
#7173C0
accent
#4DDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A230

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

Preview Lab → · Contrast checker → · Palette generator →

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