#A8A125#A8A125

#A8A125 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#A8A125
RGBrgb(168, 161, 37)
HSLhsl(57, 64%, 40%)
HSVhsv(57, 78%, 66%)
CMYKcmyk(0%, 4.2%, 78%, 34.1%)
CIE-LABlab(64.92, -11.31, 60.31)
CIE-LCHlch(64.92, 61.37, 100.62°)
OKLaboklab(69.37% -0.0379 0.1315)
OKLCHoklch(69.37% 0.137 106.1)
XYZxyz(29.2285, 33.9492, 6.7632)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A125 #252CA8
analogous
#A86025 #A8A125 #6DA825
triadic
#A8A125 #25A8A1 #A125A8
tetradic
#A8A125 #25A860 #252CA8 #A8256D
square
#A8A125 #25A860 #252CA8 #A8256D
split-complementary
#A8A125 #256DA8 #6025A8
monochromatic
#44410F #76711A #A8A125 #D3CB37 #DED869

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A125#FFFFFF#000000##000000
##A8A1251.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)
#AF9B03
Deuteranopia (green-blind)
#B2A02F
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a125;
/* rgb */ color: rgb(168, 161, 37);
/* oklch */ color: oklch(69.4% 0.137 106.1);
Tailwind
colors: {
  custom: {
    50: '#c6bc6b',
    500: '#a8a125',
    950: '#000000',
  },
}
SCSS
$custom: #a8a125;
$custom-light: #c6bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a125",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 56.794,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69373,
    "c": 0.13682,
    "h": 106.1
  },
  "luminance": 0.33948
}

Semantic roles & 50–950 ramp

primary
#A8A125
secondary
#656AC4
accent
#4AE741
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A125

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

Preview Lab → · Contrast checker → · Palette generator →

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