#A1B229#A1B229

#A1B229 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.6% C 0.154 H 116.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#A1B229
RGBrgb(161, 178, 41)
HSLhsl(67, 63%, 43%)
HSVhsv(67, 77%, 70%)
CMYKcmyk(9.6%, 0%, 77%, 30.2%)
CIE-LABlab(69.17, -22.86, 62.72)
CIE-LCHlch(69.17, 66.75, 110.03°)
OKLaboklab(72.64% -0.0693 0.1376)
OKLCHoklch(72.64% 0.154 116.7)
XYZxyz(31.0194, 39.5784, 8.1027)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B229 #3A29B2
analogous
#B27E29 #A1B229 #5DB229
triadic
#A1B229 #29A1B2 #B229A1
tetradic
#A1B229 #29B27E #3A29B2 #B2295D
square
#A1B229 #29B27E #3A29B2 #B2295D
split-complementary
#A1B229 #295DB2 #7E29B2
monochromatic
#474F12 #74801E #A1B229 #C2D444 #D2DF76

Accessibility & contrast

On white

2.36
#A1B229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#A1B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B229
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B229#FFFFFF#000000##000000
##A1B2291.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA802
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#ABA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b229;
/* rgb */ color: rgb(161, 178, 41);
/* oklch */ color: oklch(72.6% 0.154 116.7);
Tailwind
colors: {
  custom: {
    50: '#c0c86e',
    500: '#a1b229',
    950: '#000000',
  },
}
SCSS
$custom: #a1b229;
$custom-light: #c0c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b229",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 67.445,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72639,
    "c": 0.15404,
    "h": 116.7
  },
  "luminance": 0.39578
}

Semantic roles & 50–950 ramp

primary
#A1B229
secondary
#7B70C7
accent
#42E656
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B229

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

Preview Lab → · Contrast checker → · Palette generator →

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