#A8B534#A8B534

#A8B534 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.149 H 115.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A8B534
RGBrgb(168, 181, 52)
HSLhsl(66, 55%, 46%)
HSVhsv(66, 71%, 71%)
CMYKcmyk(7.2%, 0%, 71.3%, 29%)
CIE-LABlab(70.61, -20.86, 60.53)
CIE-LCHlch(70.61, 64.03, 109.01°)
OKLaboklab(73.95% -0.0631 0.1347)
OKLCHoklch(73.95% 0.149 115.1)
XYZxyz(33.2930, 41.6211, 9.5280)
Luminance0.4162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B534 #4134B5
analogous
#B58234 #A8B534 #67B534
triadic
#A8B534 #34A8B5 #B534A8
tetradic
#A8B534 #34B582 #4134B5 #B53467
square
#A8B534 #34B582 #4134B5 #B53467
split-complementary
#A8B534 #3467B5 #8234B5
monochromatic
#505619 #7C8526 #A8B534 #C3CF57 #D4DC87

Accessibility & contrast

On white

2.25
#A8B534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A8B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B534
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B534#FFFFFF#000000##000000
##A8B5341.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1D
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#B3AA9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b534;
/* rgb */ color: rgb(168, 181, 52);
/* oklch */ color: oklch(73.9% 0.149 115.1);
Tailwind
colors: {
  custom: {
    50: '#c5cb74',
    500: '#a8b534',
    950: '#000000',
  },
}
SCSS
$custom: #a8b534;
$custom-light: #c5cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b534",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 66.047,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73947,
    "c": 0.14872,
    "h": 115.1
  },
  "luminance": 0.41621
}

Semantic roles & 50–950 ramp

primary
#A8B534
secondary
#867FC6
accent
#49DF58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B534

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

Preview Lab → · Contrast checker → · Palette generator →

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