#A8B652#A8B652

#A8B652 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.5% C 0.126 H 116.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#A8B652
RGBrgb(168, 182, 82)
HSLhsl(68, 41%, 52%)
HSVhsv(68, 55%, 71%)
CMYKcmyk(7.7%, 0%, 54.9%, 28.6%)
CIE-LABlab(71.14, -19.28, 48.46)
CIE-LCHlch(71.14, 52.15, 111.69°)
OKLaboklab(74.45% -0.0557 0.1133)
OKLCHoklch(74.45% 0.126 116.2)
XYZxyz(34.4000, 42.3903, 14.3510)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B652 #6052B6
analogous
#B69252 #A8B652 #76B652
triadic
#A8B652 #52A8B6 #B652A8
tetradic
#A8B652 #52B692 #6052B6 #B65276
square
#A8B652 #52B692 #6052B6 #B65276
split-complementary
#A8B652 #5276B6 #9252B6
monochromatic
#5C642A #838F3C #A8B652 #BEC87D #D3DAA8

Accessibility & contrast

On white

2.22
#A8B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#A8B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B652
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B652#FFFFFF#000000##000000
##A8B6521.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE48
Deuteranopia (green-blind)
#C0AF58
Tritanopia (blue-blind)
#B1ADA0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b652;
/* rgb */ color: rgb(168, 182, 82);
/* oklch */ color: oklch(74.5% 0.126 116.2);
Tailwind
colors: {
  custom: {
    50: '#c4cb86',
    500: '#a8b652',
    950: '#000000',
  },
}
SCSS
$custom: #a8b652;
$custom-light: #c4cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b652",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 68.4,
    "s": 40.65,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74452,
    "c": 0.12622,
    "h": 116.2
  },
  "luminance": 0.4239
}

Semantic roles & 50–950 ramp

primary
#A8B652
secondary
#A29CC8
accent
#57D168
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A8B652

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

Preview Lab → · Contrast checker → · Palette generator →

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