#A1B230#A1B230

#A1B230 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.150 H 116.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#A1B230
RGBrgb(161, 178, 48)
HSLhsl(68, 58%, 44%)
HSVhsv(68, 73%, 70%)
CMYKcmyk(9.6%, 0%, 73%, 30.2%)
CIE-LABlab(69.21, -22.53, 60.42)
CIE-LCHlch(69.21, 64.49, 110.45°)
OKLaboklab(72.68% -0.0678 0.134)
OKLCHoklch(72.68% 0.15 116.8)
XYZxyz(31.1526, 39.6317, 8.8043)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B230 #4130B2
analogous
#B28230 #A1B230 #60B230
triadic
#A1B230 #30A1B2 #B230A1
tetradic
#A1B230 #30B282 #4130B2 #B23060
square
#A1B230 #30B282 #4130B2 #B23060
split-complementary
#A1B230 #3060B2 #8230B2
monochromatic
#4A5216 #758223 #A1B230 #BFD050 #D1DD80

Accessibility & contrast

On white

2.35
#A1B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#A1B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B230
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B230#FFFFFF#000000##000000
##A1B2301.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA816
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b230;
/* rgb */ color: rgb(161, 178, 48);
/* oklch */ color: oklch(72.7% 0.150 116.8);
Tailwind
colors: {
  custom: {
    50: '#c0c872',
    500: '#a1b230',
    950: '#000000',
  },
}
SCSS
$custom: #a1b230;
$custom-light: #c0c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b230",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 67.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72682,
    "c": 0.15012,
    "h": 116.8
  },
  "luminance": 0.39631
}

Semantic roles & 50–950 ramp

primary
#A1B230
secondary
#8278C6
accent
#47E15B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B230

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

Preview Lab → · Contrast checker → · Palette generator →

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