#A7AB29#A7AB29

#A7AB29 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.5% C 0.145 H 111.4°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#A7AB29
RGBrgb(167, 171, 41)
HSLhsl(62, 61%, 42%)
HSVhsv(62, 76%, 67%)
CMYKcmyk(2.3%, 0%, 76%, 32.9%)
CIE-LABlab(67.65, -16.76, 61.49)
CIE-LCHlch(67.65, 63.74, 105.25°)
OKLaboklab(71.54% -0.0527 0.1348)
OKLCHoklch(71.54% 0.145 111.4)
XYZxyz(30.9006, 37.5022, 7.7083)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB29 #2D29AB
analogous
#AB6E29 #A7AB29 #66AB29
triadic
#A7AB29 #29A7AB #AB29A7
tetradic
#A7AB29 #29AB6E #2D29AB #AB2966
square
#A7AB29 #29AB6E #2D29AB #AB2966
split-complementary
#A7AB29 #2966AB #6E29AB
monochromatic
#474811 #777A1D #A7AB29 #CDD140 #DADD71

Accessibility & contrast

On white

2.47
#A7AB29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#A7AB29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AB29
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AB29#FFFFFF#000000##000000
##A7AB291.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A307
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ab29;
/* rgb */ color: rgb(167, 171, 41);
/* oklch */ color: oklch(71.5% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#c5c36e',
    500: '#a7ab29',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab29;
$custom-light: #c5c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab29",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 41
  },
  "hsl": {
    "h": 61.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71539,
    "c": 0.14471,
    "h": 111.4
  },
  "luminance": 0.37501
}

Semantic roles & 50–950 ramp

primary
#A7AB29
secondary
#6E6CC4
accent
#43E448
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB29

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

Preview Lab → · Contrast checker → · Palette generator →

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