#A1B214#A1B214

#A1B214 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.6% C 0.162 H 116.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#A1B214
RGBrgb(161, 178, 20)
HSLhsl(66, 80%, 39%)
HSVhsv(66, 89%, 70%)
CMYKcmyk(9.6%, 0%, 88.8%, 30.2%)
CIE-LABlab(69.09, -23.54, 67.90)
CIE-LCHlch(69.09, 71.87, 109.12°)
OKLaboklab(72.55% -0.0725 0.1453)
OKLCHoklch(72.55% 0.162 116.5)
XYZxyz(30.7455, 39.4688, 6.6603)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B214 #2514B2
analogous
#B27414 #A1B214 #52B214
triadic
#A1B214 #14A1B2 #B214A1
tetradic
#A1B214 #14B274 #2514B2 #B21452
square
#A1B214 #14B274 #2514B2 #B21452
split-complementary
#A1B214 #1452B2 #7414B2
monochromatic
#3D4408 #6F7B0E #A1B214 #D0E61E #DCEC55

Accessibility & contrast

On white

2.36
#A1B214 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#A1B214 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B214
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B214#FFFFFF#000000##000000
##A1B2141.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BEAA28
Tritanopia (blue-blind)
#ACA797
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b214;
/* rgb */ color: rgb(161, 178, 20);
/* oklch */ color: oklch(72.6% 0.162 116.5);
Tailwind
colors: {
  custom: {
    50: '#c1c867',
    500: '#a1b214',
    950: '#000000',
  },
}
SCSS
$custom: #a1b214;
$custom-light: #c1c867;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b214",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 20
  },
  "hsl": {
    "h": 66.456,
    "s": 79.798,
    "l": 38.824
  },
  "oklch": {
    "l": 0.72551,
    "c": 0.16237,
    "h": 116.5
  },
  "luminance": 0.39468
}

Semantic roles & 50–950 ramp

primary
#A1B214
secondary
#6153CE
accent
#32F647
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B214

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

Preview Lab → · Contrast checker → · Palette generator →

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