#A7BA29#A7BA29

#A7BA29 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 74.9% C 0.161 H 117.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#A7BA29
RGBrgb(167, 186, 41)
HSLhsl(68, 64%, 45%)
HSVhsv(68, 78%, 73%)
CMYKcmyk(10.2%, 0%, 78%, 27.1%)
CIE-LABlab(71.89, -24.26, 65.37)
CIE-LCHlch(71.89, 69.72, 110.36°)
OKLaboklab(74.94% -0.0734 0.143)
OKLCHoklch(74.94% 0.161 117.2)
XYZxyz(33.8964, 43.4938, 8.7069)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA29 #3C29BA
analogous
#BA8529 #A7BA29 #5FBA29
triadic
#A7BA29 #29A7BA #BA29A7
tetradic
#A7BA29 #29BA85 #3C29BA #BA295F
square
#A7BA29 #29BA85 #3C29BA #BA295F
split-complementary
#A7BA29 #295FBA #8529BA
monochromatic
#4D5613 #7A881E #A7BA29 #C4D749 #D5E27B

Accessibility & contrast

On white

2.17
#A7BA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#A7BA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BA29
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BA29#FFFFFF#000000##000000
##A7BA291.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#B2AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a7ba29;
/* rgb */ color: rgb(167, 186, 41);
/* oklch */ color: oklch(74.9% 0.161 117.2);
Tailwind
colors: {
  custom: {
    50: '#c5ce70',
    500: '#a7ba29',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba29;
$custom-light: #c5ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba29",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 41
  },
  "hsl": {
    "h": 67.862,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74938,
    "c": 0.16076,
    "h": 117.2
  },
  "luminance": 0.43493
}

Semantic roles & 50–950 ramp

primary
#A7BA29
secondary
#8075CA
accent
#41E757
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BA29

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

Preview Lab → · Contrast checker → · Palette generator →

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