#A1B334#A1B334

#A1B334 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.149 H 117.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A1B334
RGBrgb(161, 179, 52)
HSLhsl(69, 55%, 45%)
HSVhsv(69, 71%, 70%)
CMYKcmyk(10.1%, 0%, 70.9%, 29.8%)
CIE-LABlab(69.52, -22.82, 59.28)
CIE-LCHlch(69.52, 63.52, 111.05°)
OKLaboklab(72.94% -0.0682 0.1322)
OKLCHoklch(72.94% 0.149 117.3)
XYZxyz(31.4386, 40.0656, 9.3254)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B334 #4634B3
analogous
#B38534 #A1B334 #61B334
triadic
#A1B334 #34A1B3 #B334A1
tetradic
#A1B334 #34B385 #4634B3 #B33461
square
#A1B334 #34B385 #4634B3 #B33461
split-complementary
#A1B334 #3461B3 #8534B3
monochromatic
#4C5418 #768426 #A1B334 #BDCE56 #D0DC86

Accessibility & contrast

On white

2.33
#A1B334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A1B334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B334
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B334#FFFFFF#000000##000000
##A1B3341.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91E
Deuteranopia (green-blind)
#BDAB3E
Tritanopia (blue-blind)
#ABA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b334;
/* rgb */ color: rgb(161, 179, 52);
/* oklch */ color: oklch(72.9% 0.149 117.3);
Tailwind
colors: {
  custom: {
    50: '#c0c974',
    500: '#a1b334',
    950: '#000000',
  },
}
SCSS
$custom: #a1b334;
$custom-light: #c0c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b334",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 68.504,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72939,
    "c": 0.14878,
    "h": 117.3
  },
  "luminance": 0.40065
}

Semantic roles & 50–950 ramp

primary
#A1B334
secondary
#887DC5
accent
#49DE5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B334

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

Preview Lab → · Contrast checker → · Palette generator →

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