#A1B330#A1B330

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

Color values

HEX#A1B330
RGBrgb(161, 179, 48)
HSLhsl(68, 58%, 45%)
HSVhsv(68, 73%, 70%)
CMYKcmyk(10.1%, 0%, 73.2%, 29.8%)
CIE-LABlab(69.49, -23.03, 60.70)
CIE-LCHlch(69.49, 64.92, 110.77°)
OKLaboklab(72.91% -0.0691 0.1345)
OKLCHoklch(72.91% 0.151 117.2)
XYZxyz(31.3523, 40.0310, 8.8709)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B330 #4230B3
analogous
#B38330 #A1B330 #60B330
triadic
#A1B330 #30A1B3 #B330A1
tetradic
#A1B330 #30B383 #4230B3 #B33060
square
#A1B330 #30B383 #4230B3 #B33060
split-complementary
#A1B330 #3060B3 #8330B3
monochromatic
#4A5216 #768323 #A1B330 #BFD050 #D0DD80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B330#FFFFFF#000000##000000
##A1B3301.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)
#BFA916
Deuteranopia (green-blind)
#BEAA3B
Tritanopia (blue-blind)
#ABA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b330;
/* rgb */ color: rgb(161, 179, 48);
/* oklch */ color: oklch(72.9% 0.151 117.2);
Tailwind
colors: {
  custom: {
    50: '#c0c972',
    500: '#a1b330',
    950: '#000000',
  },
}
SCSS
$custom: #a1b330;
$custom-light: #c0c972;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b330",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 68.244,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72911,
    "c": 0.15126,
    "h": 117.2
  },
  "luminance": 0.40031
}

Semantic roles & 50–950 ramp

primary
#A1B330
secondary
#8379C6
accent
#47E15C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B330

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

Preview Lab → · Contrast checker → · Palette generator →

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