#A4A826#A4A826

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

Color values

HEX#A4A826
RGBrgb(164, 168, 38)
HSLhsl(62, 63%, 40%)
HSVhsv(62, 77%, 66%)
CMYKcmyk(2.4%, 0%, 77.4%, 34.1%)
CIE-LABlab(66.55, -16.66, 61.35)
CIE-LCHlch(66.55, 63.57, 105.19°)
OKLaboklab(70.59% -0.0525 0.134)
OKLCHoklch(70.59% 0.144 111.4)
XYZxyz(29.6634, 36.0385, 7.2269)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A826 #2A26A8
analogous
#A86B26 #A4A826 #63A826
triadic
#A4A826 #26A4A8 #A826A4
tetradic
#A4A826 #26A86B #2A26A8 #A82663
square
#A4A826 #26A86B #2A26A8 #A82663
split-complementary
#A4A826 #2663A8 #6B26A8
monochromatic
#43440F #73761B #A4A826 #CDD239 #DADE6B

Accessibility & contrast

On white

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

On black

8.21
#A4A826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A826
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A826#FFFFFF#000000##000000
##A4A8261.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4a826;
/* rgb */ color: rgb(164, 168, 38);
/* oklch */ color: oklch(70.6% 0.144 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c16c',
    500: '#a4a826',
    950: '#000000',
  },
}
SCSS
$custom: #a4a826;
$custom-light: #c3c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a826",
  "rgb": {
    "r": 164,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 61.846,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70592,
    "c": 0.14395,
    "h": 111.4
  },
  "luminance": 0.36038
}

Semantic roles & 50–950 ramp

primary
#A4A826
secondary
#6966C4
accent
#42E647
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A826

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

Preview Lab → · Contrast checker → · Palette generator →

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