#A1B323#A1B323

#A1B323 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.158 H 117.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A1B323
RGBrgb(161, 179, 35)
HSLhsl(68, 67%, 42%)
HSVhsv(68, 80%, 70%)
CMYKcmyk(10.1%, 0%, 80.4%, 29.8%)
CIE-LABlab(69.43, -23.59, 64.73)
CIE-LCHlch(69.43, 68.89, 110.03°)
OKLaboklab(72.84% -0.0717 0.1408)
OKLCHoklch(72.84% 0.158 117)
XYZxyz(31.1222, 39.9390, 7.6593)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B323 #3523B3
analogous
#B37D23 #A1B323 #59B323
triadic
#A1B323 #23A1B3 #B323A1
tetradic
#A1B323 #23B37D #3523B3 #B32359
square
#A1B323 #23B37D #3523B3 #B32359
split-complementary
#A1B323 #2359B3 #7D23B3
monochromatic
#454D0F #738019 #A1B323 #C5D93B #D4E36E

Accessibility & contrast

On white

2.34
#A1B323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A1B323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B323
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B323#FFFFFF#000000##000000
##A1B3231.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b323;
/* rgb */ color: rgb(161, 179, 35);
/* oklch */ color: oklch(72.8% 0.158 117.0);
Tailwind
colors: {
  custom: {
    50: '#c1c96c',
    500: '#a1b323',
    950: '#000000',
  },
}
SCSS
$custom: #a1b323;
$custom-light: #c1c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b323",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 35
  },
  "hsl": {
    "h": 67.5,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72838,
    "c": 0.15804,
    "h": 117
  },
  "luminance": 0.39939
}

Semantic roles & 50–950 ramp

primary
#A1B323
secondary
#7569C9
accent
#3EEA53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A1B323

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

Preview Lab → · Contrast checker → · Palette generator →

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