#A8AB30#A8AB30

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

Color values

HEX#A8AB30
RGBrgb(168, 171, 48)
HSLhsl(61, 56%, 43%)
HSVhsv(61, 72%, 67%)
CMYKcmyk(1.8%, 0%, 71.9%, 32.9%)
CIE-LABlab(67.77, -16.01, 59.23)
CIE-LCHlch(67.77, 61.35, 105.12°)
OKLaboklab(71.67% -0.05 0.1312)
OKLCHoklch(71.67% 0.14 110.9)
XYZxyz(31.2459, 37.6649, 8.4198)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB30 #3330AB
analogous
#AB7030 #A8AB30 #6BAB30
triadic
#A8AB30 #30A8AB #AB30A8
tetradic
#A8AB30 #30AB70 #3330AB #AB306B
square
#A8AB30 #30AB70 #3330AB #AB306B
split-complementary
#A8AB30 #306BAB #7030AB
monochromatic
#4A4B15 #797B23 #A8AB30 #C9CD4C #D8DA7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AB30#FFFFFF#000000##000000
##A8AB301.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)
#B8A319
Deuteranopia (green-blind)
#B9A739
Tritanopia (blue-blind)
#B4A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8ab30;
/* rgb */ color: rgb(168, 171, 48);
/* oklch */ color: oklch(71.7% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c371',
    500: '#a8ab30',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab30;
$custom-light: #c5c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab30",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 61.463,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.14042,
    "h": 110.9
  },
  "luminance": 0.37664
}

Semantic roles & 50–950 ramp

primary
#A8AB30
secondary
#7674C3
accent
#48DF4C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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