#A8A335#A8A335

#A8A335 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.129 H 106.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A8A335
RGBrgb(168, 163, 53)
HSLhsl(57, 52%, 43%)
HSVhsv(57, 68%, 66%)
CMYKcmyk(0%, 3%, 68.5%, 34.1%)
CIE-LABlab(65.57, -11.60, 55.15)
CIE-LCHlch(65.57, 56.36, 101.88°)
OKLaboklab(69.92% -0.0371 0.1235)
OKLCHoklch(69.92% 0.129 106.7)
XYZxyz(29.8894, 34.7773, 8.5057)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A335 #353AA8
analogous
#A86935 #A8A335 #73A835
triadic
#A8A335 #35A8A3 #A335A8
tetradic
#A8A335 #35A869 #353AA8 #A83573
square
#A8A335 #35A869 #353AA8 #A83573
split-complementary
#A8A335 #3573A8 #6935A8
monochromatic
#4B4918 #797626 #A8A335 #C8C352 #D7D380

Accessibility & contrast

On white

2.64
#A8A335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A8A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A335
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A335#FFFFFF#000000##000000
##A8A3351.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D25
Deuteranopia (green-blind)
#B3A13C
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a335;
/* rgb */ color: rgb(168, 163, 53);
/* oklch */ color: oklch(69.9% 0.129 106.7);
Tailwind
colors: {
  custom: {
    50: '#c5be73',
    500: '#a8a335',
    950: '#000000',
  },
}
SCSS
$custom: #a8a335;
$custom-light: #c5be73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a335",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 57.391,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69924,
    "c": 0.12895,
    "h": 106.7
  },
  "luminance": 0.34776
}

Semantic roles & 50–950 ramp

primary
#A8A335
secondary
#787CC0
accent
#53DB4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A335

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

Preview Lab → · Contrast checker → · Palette generator →

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