#A7B429#A7B429

#A7B429 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.6% C 0.154 H 115.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#A7B429
RGBrgb(167, 180, 41)
HSLhsl(66, 63%, 43%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(7.2%, 0%, 77.2%, 29.4%)
CIE-LABlab(70.19, -21.30, 63.82)
CIE-LCHlch(70.19, 67.28, 108.46°)
OKLaboklab(73.57% -0.0653 0.1397)
OKLCHoklch(73.57% 0.154 115)
XYZxyz(32.6588, 41.0187, 8.2944)
Luminance0.4102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B429 #3629B4
analogous
#B47C29 #A7B429 #61B429
triadic
#A7B429 #29A7B4 #B429A7
tetradic
#A7B429 #29B47C #3629B4 #B42961
square
#A7B429 #29B47C #3629B4 #B42961
split-complementary
#A7B429 #2961B4 #7C29B4
monochromatic
#4B5012 #79821E #A7B429 #C7D545 #D6E077

Accessibility & contrast

On white

2.28
#A7B429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#A7B429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B429
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B429#FFFFFF#000000##000000
##A7B4291.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C0AD36
Tritanopia (blue-blind)
#B2A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b429;
/* rgb */ color: rgb(167, 180, 41);
/* oklch */ color: oklch(73.6% 0.154 115.0);
Tailwind
colors: {
  custom: {
    50: '#c5ca6f',
    500: '#a7b429',
    950: '#000000',
  },
}
SCSS
$custom: #a7b429;
$custom-light: #c5ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b429",
  "rgb": {
    "r": 167,
    "g": 180,
    "b": 41
  },
  "hsl": {
    "h": 65.612,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73572,
    "c": 0.15422,
    "h": 115
  },
  "luminance": 0.41018
}

Semantic roles & 50–950 ramp

primary
#A7B429
secondary
#7971C8
accent
#42E651
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B429

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

Preview Lab → · Contrast checker → · Palette generator →

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