#A1B023#A1B023

#A1B023 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.1% C 0.155 H 115.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#A1B023
RGBrgb(161, 176, 35)
HSLhsl(66, 67%, 41%)
HSVhsv(66, 80%, 69%)
CMYKcmyk(8.5%, 0%, 80.1%, 31%)
CIE-LABlab(68.57, -22.11, 63.97)
CIE-LCHlch(68.57, 67.68, 109.07°)
OKLaboklab(72.15% -0.0677 0.1392)
OKLCHoklch(72.15% 0.155 115.9)
XYZxyz(30.5275, 38.7496, 7.4610)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B023 #3223B0
analogous
#B07923 #A1B023 #5BB023
triadic
#A1B023 #23A1B0 #B023A1
tetradic
#A1B023 #23B079 #3223B0 #B0235B
square
#A1B023 #23B079 #3223B0 #B0235B
split-complementary
#A1B023 #235BB0 #7923B0
monochromatic
#444A0F #727D19 #A1B023 #C7D839 #D5E26C

Accessibility & contrast

On white

2.40
#A1B023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#A1B023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B023
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B023#FFFFFF#000000##000000
##A1B0231.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BCA831
Tritanopia (blue-blind)
#ACA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1b023;
/* rgb */ color: rgb(161, 176, 35);
/* oklch */ color: oklch(72.1% 0.155 115.9);
Tailwind
colors: {
  custom: {
    50: '#c1c76c',
    500: '#a1b023',
    950: '#000000',
  },
}
SCSS
$custom: #a1b023;
$custom-light: #c1c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b023",
  "rgb": {
    "r": 161,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 66.383,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72149,
    "c": 0.15476,
    "h": 115.9
  },
  "luminance": 0.38749
}

Semantic roles & 50–950 ramp

primary
#A1B023
secondary
#7167C8
accent
#3EEA50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B023

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

Preview Lab → · Contrast checker → · Palette generator →

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