#A1B730#A1B730

#A1B730 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 73.8% C 0.156 H 118.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#A1B730
RGBrgb(161, 183, 48)
HSLhsl(70, 58%, 45%)
HSVhsv(70, 74%, 72%)
CMYKcmyk(12%, 0%, 73.8%, 28.2%)
CIE-LABlab(70.63, -24.99, 61.79)
CIE-LCHlch(70.63, 66.65, 112.02°)
OKLaboklab(73.83% -0.0746 0.1368)
OKLCHoklch(73.83% 0.156 118.6)
XYZxyz(32.1656, 41.6577, 9.1420)
Luminance0.4166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B730 #4630B7
analogous
#B78A30 #A1B730 #5DB730
triadic
#A1B730 #30A1B7 #B730A1
tetradic
#A1B730 #30B78A #4630B7 #B7305D
square
#A1B730 #30B78A #4630B7 #B7305D
split-complementary
#A1B730 #305DB7 #8A30B7
monochromatic
#4C5617 #768723 #A1B730 #BDD252 #D0DE83

Accessibility & contrast

On white

2.25
#A1B730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#A1B730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B730
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B730#FFFFFF#000000##000000
##A1B7301.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD14
Deuteranopia (green-blind)
#C1AD3C
Tritanopia (blue-blind)
#ABAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a1b730;
/* rgb */ color: rgb(161, 183, 48);
/* oklch */ color: oklch(73.8% 0.156 118.6);
Tailwind
colors: {
  custom: {
    50: '#c0cc72',
    500: '#a1b730',
    950: '#000000',
  },
}
SCSS
$custom: #a1b730;
$custom-light: #c0cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b730",
  "rgb": {
    "r": 161,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 69.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7383,
    "c": 0.15584,
    "h": 118.6
  },
  "luminance": 0.41657
}

Semantic roles & 50–950 ramp

primary
#A1B730
secondary
#887BC8
accent
#46E25F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B730

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

Preview Lab → · Contrast checker → · Palette generator →

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