#A4A823#A4A823

#A4A823 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.145 H 111.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#A4A823
RGBrgb(164, 168, 35)
HSLhsl(62, 66%, 40%)
HSVhsv(62, 79%, 66%)
CMYKcmyk(2.4%, 0%, 79.2%, 34.1%)
CIE-LABlab(66.54, -16.78, 62.25)
CIE-LCHlch(66.54, 64.47, 105.08°)
OKLaboklab(70.58% -0.0531 0.1354)
OKLCHoklch(70.58% 0.145 111.4)
XYZxyz(29.6169, 36.0199, 6.9822)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A823 #2723A8
analogous
#A86A23 #A4A823 #61A823
triadic
#A4A823 #23A4A8 #A823A4
tetradic
#A4A823 #23A86A #2723A8 #A82361
square
#A4A823 #23A86A #2723A8 #A82361
split-complementary
#A4A823 #2361A8 #6A23A8
monochromatic
#41430E #737518 #A4A823 #D0D534 #DCDF66

Accessibility & contrast

On white

2.56
#A4A823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#A4A823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A823
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A823#FFFFFF#000000##000000
##A4A8231.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B09D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a4a823;
/* rgb */ color: rgb(164, 168, 35);
/* oklch */ color: oklch(70.6% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c16b',
    500: '#a4a823',
    950: '#000000',
  },
}
SCSS
$custom: #a4a823;
$custom-light: #c3c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a823",
  "rgb": {
    "r": 164,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 61.805,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70576,
    "c": 0.14543,
    "h": 111.4
  },
  "luminance": 0.36019
}

Semantic roles & 50–950 ramp

primary
#A4A823
secondary
#6562C5
accent
#3FE844
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A823

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

Preview Lab → · Contrast checker → · Palette generator →

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