#A1B233#A1B233

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

Color values

HEX#A1B233
RGBrgb(161, 178, 51)
HSLhsl(68, 55%, 45%)
HSVhsv(68, 71%, 70%)
CMYKcmyk(9.6%, 0%, 71.3%, 30.2%)
CIE-LABlab(69.22, -22.37, 59.36)
CIE-LCHlch(69.22, 63.44, 110.65°)
OKLaboklab(72.7% -0.0671 0.1322)
OKLCHoklch(72.7% 0.148 116.9)
XYZxyz(31.2166, 39.6573, 9.1415)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B233 #4433B2
analogous
#B28333 #A1B233 #62B233
triadic
#A1B233 #33A1B2 #B233A1
tetradic
#A1B233 #33B283 #4433B2 #B23362
square
#A1B233 #33B283 #4433B2 #B23362
split-complementary
#A1B233 #3362B2 #8333B2
monochromatic
#4B5318 #768225 #A1B233 #BECE54 #D0DC84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B233#FFFFFF#000000##000000
##A1B2331.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)
#BEA81D
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b233;
/* rgb */ color: rgb(161, 178, 51);
/* oklch */ color: oklch(72.7% 0.148 116.9);
Tailwind
colors: {
  custom: {
    50: '#c0c873',
    500: '#a1b233',
    950: '#000000',
  },
}
SCSS
$custom: #a1b233;
$custom-light: #c0c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b233",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 68.031,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72703,
    "c": 0.14826,
    "h": 116.9
  },
  "luminance": 0.39657
}

Semantic roles & 50–950 ramp

primary
#A1B233
secondary
#867CC5
accent
#49DF5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B233

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

Preview Lab → · Contrast checker → · Palette generator →

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