#A4A123#A4A123

#A4A123 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.138 H 108.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A4A123
RGBrgb(164, 161, 35)
HSLhsl(59, 65%, 39%)
HSVhsv(59, 79%, 64%)
CMYKcmyk(0%, 1.8%, 78.7%, 35.7%)
CIE-LABlab(64.57, -13.16, 60.49)
CIE-LCHlch(64.57, 61.91, 102.28°)
OKLaboklab(69% -0.043 0.1316)
OKLCHoklch(69% 0.138 108.1)
XYZxyz(28.3592, 33.5046, 6.5630)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A123 #2326A4
analogous
#A46123 #A4A123 #67A423
triadic
#A4A123 #23A4A1 #A123A4
tetradic
#A4A123 #23A461 #2326A4 #A42367
square
#A4A123 #23A461 #2326A4 #A42367
split-complementary
#A4A123 #2367A4 #6123A4
monochromatic
#3F3E0D #726F18 #A4A123 #D3CF31 #DEDB64

Accessibility & contrast

On white

2.73
#A4A123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A4A123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A123
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A123#FFFFFF#000000##000000
##A4A1231.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B19F2E
Tritanopia (blue-blind)
#B0968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a123;
/* rgb */ color: rgb(164, 161, 35);
/* oklch */ color: oklch(69.0% 0.138 108.1);
Tailwind
colors: {
  custom: {
    50: '#c3bc6a',
    500: '#a4a123',
    950: '#000000',
  },
}
SCSS
$custom: #a4a123;
$custom-light: #c3bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a123",
  "rgb": {
    "r": 164,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 58.605,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69004,
    "c": 0.13849,
    "h": 108.1
  },
  "luminance": 0.33504
}

Semantic roles & 50–950 ramp

primary
#A4A123
secondary
#6062C3
accent
#44E840
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A123

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

Preview Lab → · Contrast checker → · Palette generator →

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