#A8B524#A8B524

#A8B524 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.157 H 115.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#A8B524
RGBrgb(168, 181, 36)
HSLhsl(65, 67%, 43%)
HSVhsv(65, 80%, 71%)
CMYKcmyk(7.2%, 0%, 80.1%, 29%)
CIE-LABlab(70.53, -21.56, 65.62)
CIE-LCHlch(70.53, 69.07, 108.19°)
OKLaboklab(73.85% -0.0664 0.1426)
OKLCHoklch(73.85% 0.157 115)
XYZxyz(32.9918, 41.5006, 7.9412)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B524 #3124B5
analogous
#B57924 #A8B524 #60B524
triadic
#A8B524 #24A8B5 #B524A8
tetradic
#A8B524 #24B579 #3124B5 #B52460
square
#A8B524 #24B579 #3124B5 #B52460
split-complementary
#A8B524 #2460B5 #7924B5
monochromatic
#494F10 #79821A #A8B524 #CBD93E #D8E371

Accessibility & contrast

On white

2.26
#A8B524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#A8B524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B524
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B524#FFFFFF#000000##000000
##A8B5241.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C2AE32
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b524;
/* rgb */ color: rgb(168, 181, 36);
/* oklch */ color: oklch(73.9% 0.157 115.0);
Tailwind
colors: {
  custom: {
    50: '#c6cb6d',
    500: '#a8b524',
    950: '#000000',
  },
}
SCSS
$custom: #a8b524;
$custom-light: #c6cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b524",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 36
  },
  "hsl": {
    "h": 65.379,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73854,
    "c": 0.15735,
    "h": 115
  },
  "luminance": 0.415
}

Semantic roles & 50–950 ramp

primary
#A8B524
secondary
#746BC9
accent
#3EEA4D
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8B524

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

Preview Lab → · Contrast checker → · Palette generator →

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