#A4A230#A4A230

#A4A230 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.132 H 108.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A4A230
RGBrgb(164, 162, 48)
HSLhsl(59, 55%, 42%)
HSVhsv(59, 71%, 64%)
CMYKcmyk(0%, 1.2%, 70.7%, 35.7%)
CIE-LABlab(64.92, -13.10, 56.34)
CIE-LCHlch(64.92, 57.84, 103.09°)
OKLaboklab(69.31% -0.0417 0.1252)
OKLCHoklch(69.31% 0.132 108.4)
XYZxyz(28.7647, 33.9475, 7.8330)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A230 #3032A4
analogous
#A46830 #A4A230 #6CA430
triadic
#A4A230 #30A4A2 #A230A4
tetradic
#A4A230 #30A468 #3032A4 #A4306C
square
#A4A230 #30A468 #3032A4 #A4306C
split-complementary
#A4A230 #306CA4 #6830A4
monochromatic
#454414 #757322 #A4A230 #C9C748 #D7D677

Accessibility & contrast

On white

2.70
#A4A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A4A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A230
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A230#FFFFFF#000000##000000
##A4A2301.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#B0978C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a230;
/* rgb */ color: rgb(164, 162, 48);
/* oklch */ color: oklch(69.3% 0.132 108.4);
Tailwind
colors: {
  custom: {
    50: '#c2bd70',
    500: '#a4a230',
    950: '#000000',
  },
}
SCSS
$custom: #a4a230;
$custom-light: #c2bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a230",
  "rgb": {
    "r": 164,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 58.966,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69309,
    "c": 0.13199,
    "h": 108.4
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#A4A230
secondary
#7072BF
accent
#4CDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A230

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

Preview Lab → · Contrast checker → · Palette generator →

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