#A4B229#A4B229

#A4B229 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.9% C 0.153 H 115.5°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#A4B229
RGBrgb(164, 178, 41)
HSLhsl(66, 63%, 43%)
HSVhsv(66, 77%, 70%)
CMYKcmyk(7.9%, 0%, 77%, 30.2%)
CIE-LABlab(69.39, -21.58, 63.01)
CIE-LCHlch(69.39, 66.60, 108.91°)
OKLaboklab(72.88% -0.0659 0.1381)
OKLCHoklch(72.88% 0.153 115.5)
XYZxyz(31.6314, 39.8939, 8.1314)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B229 #3729B2
analogous
#B27B29 #A4B229 #60B229
triadic
#A4B229 #29A4B2 #B229A4
tetradic
#A4B229 #29B27B #3729B2 #B22960
square
#A4B229 #29B27B #3729B2 #B22960
split-complementary
#A4B229 #2960B2 #7B29B2
monochromatic
#484F12 #76801E #A4B229 #C5D444 #D5DF76

Accessibility & contrast

On white

2.34
#A4B229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#A4B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B229
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B229#FFFFFF#000000##000000
##A4B2291.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA902
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#AFA799
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a4b229;
/* rgb */ color: rgb(164, 178, 41);
/* oklch */ color: oklch(72.9% 0.153 115.5);
Tailwind
colors: {
  custom: {
    50: '#c3c86e',
    500: '#a4b229',
    950: '#000000',
  },
}
SCSS
$custom: #a4b229;
$custom-light: #c3c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b229",
  "rgb": {
    "r": 164,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 66.131,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72877,
    "c": 0.15302,
    "h": 115.5
  },
  "luminance": 0.39893
}

Semantic roles & 50–950 ramp

primary
#A4B229
secondary
#7970C7
accent
#42E653
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B229

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

Preview Lab → · Contrast checker → · Palette generator →

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