#A5A124#A5A124

#A5A124 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.138 H 107.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A5A124
RGBrgb(165, 161, 36)
HSLhsl(58, 64%, 39%)
HSVhsv(58, 78%, 65%)
CMYKcmyk(0%, 2.4%, 78.2%, 35.3%)
CIE-LABlab(64.66, -12.68, 60.30)
CIE-LCHlch(64.66, 61.61, 101.88°)
OKLaboklab(69.1% -0.0417 0.1314)
OKLCHoklch(69.1% 0.138 107.6)
XYZxyz(28.5815, 33.6174, 6.6520)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A124 #2428A5
analogous
#A56124 #A5A124 #68A524
triadic
#A5A124 #24A5A1 #A124A5
tetradic
#A5A124 #24A561 #2428A5 #A52468
square
#A5A124 #24A561 #2428A5 #A52468
split-complementary
#A5A124 #2468A5 #6124A5
monochromatic
#413F0E #737019 #A5A124 #D3CE34 #DEDA66

Accessibility & contrast

On white

2.72
#A5A124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A5A124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A124
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A124#FFFFFF#000000##000000
##A5A1241.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a124;
/* rgb */ color: rgb(165, 161, 36);
/* oklch */ color: oklch(69.1% 0.138 107.6);
Tailwind
colors: {
  custom: {
    50: '#c3bc6a',
    500: '#a5a124',
    950: '#000000',
  },
}
SCSS
$custom: #a5a124;
$custom-light: #c3bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a124",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 58.14,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69098,
    "c": 0.13782,
    "h": 107.6
  },
  "luminance": 0.33616
}

Semantic roles & 50–950 ramp

primary
#A5A124
secondary
#6265C3
accent
#46E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A124

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

Preview Lab → · Contrast checker → · Palette generator →

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