#A8B229#A8B229

#A8B229 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.152 H 113.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A8B229
RGBrgb(168, 178, 41)
HSLhsl(64, 63%, 43%)
HSVhsv(64, 77%, 70%)
CMYKcmyk(5.6%, 0%, 77%, 30.2%)
CIE-LABlab(69.70, -19.87, 63.40)
CIE-LCHlch(69.70, 66.44, 107.40°)
OKLaboklab(73.2% -0.0614 0.1388)
OKLCHoklch(73.2% 0.152 113.9)
XYZxyz(32.4701, 40.3264, 8.1707)
Luminance0.4033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B229 #3329B2
analogous
#B27829 #A8B229 #63B229
triadic
#A8B229 #29A8B2 #B229A8
tetradic
#A8B229 #29B278 #3329B2 #B22963
square
#A8B229 #29B278 #3329B2 #B22963
split-complementary
#A8B229 #2963B2 #7829B2
monochromatic
#4A4F12 #79801E #A8B229 #C9D444 #D8DF76

Accessibility & contrast

On white

2.32
#A8B229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A8B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B229
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B229#FFFFFF#000000##000000
##A8B2291.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA901
Deuteranopia (green-blind)
#BFAC35
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b229;
/* rgb */ color: rgb(168, 178, 41);
/* oklch */ color: oklch(73.2% 0.152 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c86f',
    500: '#a8b229',
    950: '#000000',
  },
}
SCSS
$custom: #a8b229;
$custom-light: #c5c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b229",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 64.38,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.732,
    "c": 0.15176,
    "h": 113.9
  },
  "luminance": 0.40326
}

Semantic roles & 50–950 ramp

primary
#A8B229
secondary
#7670C7
accent
#42E64E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B229

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

Preview Lab → · Contrast checker → · Palette generator →

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