#A8A124#A8A124

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

Color values

HEX#A8A124
RGBrgb(168, 161, 36)
HSLhsl(57, 65%, 40%)
HSVhsv(57, 79%, 66%)
CMYKcmyk(0%, 4.2%, 78.6%, 34.1%)
CIE-LABlab(64.92, -11.35, 60.63)
CIE-LCHlch(64.92, 61.68, 100.61°)
OKLaboklab(69.37% -0.0381 0.132)
OKLCHoklch(69.37% 0.137 106.1)
XYZxyz(29.2130, 33.9431, 6.6816)
Luminance0.3394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A124 #242BA8
analogous
#A85F24 #A8A124 #6DA824
triadic
#A8A124 #24A8A1 #A124A8
tetradic
#A8A124 #24A85F #242BA8 #A8246D
square
#A8A124 #24A85F #242BA8 #A8246D
split-complementary
#A8A124 #246DA8 #5F24A8
monochromatic
#43400E #767119 #A8A124 #D4CB35 #DFD868

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A124#FFFFFF#000000##000000
##A8A1241.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)
#AF9B00
Deuteranopia (green-blind)
#B2A02E
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a124;
/* rgb */ color: rgb(168, 161, 36);
/* oklch */ color: oklch(69.4% 0.137 106.1);
Tailwind
colors: {
  custom: {
    50: '#c6bc6a',
    500: '#a8a124',
    950: '#000000',
  },
}
SCSS
$custom: #a8a124;
$custom-light: #c6bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a124",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 56.818,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.69368,
    "c": 0.13734,
    "h": 106.1
  },
  "luminance": 0.33942
}

Semantic roles & 50–950 ramp

primary
#A8A124
secondary
#6369C4
accent
#49E840
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A124

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

Preview Lab → · Contrast checker → · Palette generator →

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