#A8AB2C#A8AB2C

#A8AB2C is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.143 H 110.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#A8AB2C
RGBrgb(168, 171, 44)
HSLhsl(61, 59%, 42%)
HSVhsv(61, 74%, 67%)
CMYKcmyk(1.8%, 0%, 74.3%, 32.9%)
CIE-LABlab(67.75, -16.20, 60.61)
CIE-LCHlch(67.75, 62.74, 104.96°)
OKLaboklab(71.64% -0.0509 0.1334)
OKLCHoklch(71.64% 0.143 110.9)
XYZxyz(31.1671, 37.6333, 8.0046)
Luminance0.3763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB2C #2F2CAB
analogous
#AB6E2C #A8AB2C #69AB2C
triadic
#A8AB2C #2CA8AB #AB2CA8
tetradic
#A8AB2C #2CAB6E #2F2CAB #AB2C69
square
#A8AB2C #2CAB6E #2F2CAB #AB2C69
split-complementary
#A8AB2C #2C69AB #6E2CAB
monochromatic
#484A13 #787A1F #A8AB2C #CCCF45 #D9DC76

Accessibility & contrast

On white

2.46
#A8AB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#A8AB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AB2C
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AB2C#FFFFFF#000000##000000
##A8AB2C1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A310
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#B4A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8ab2c;
/* rgb */ color: rgb(168, 171, 44);
/* oklch */ color: oklch(71.6% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c36f',
    500: '#a8ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab2c;
$custom-light: #c5c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab2c",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 61.417,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71642,
    "c": 0.14281,
    "h": 110.9
  },
  "luminance": 0.37632
}

Semantic roles & 50–950 ramp

primary
#A8AB2C
secondary
#716FC3
accent
#46E249
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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