#A2B214#A2B214

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

Color values

HEX#A2B214
RGBrgb(162, 178, 20)
HSLhsl(66, 80%, 39%)
HSVhsv(66, 89%, 70%)
CMYKcmyk(9%, 0%, 88.8%, 30.2%)
CIE-LABlab(69.16, -23.11, 68.00)
CIE-LCHlch(69.16, 71.81, 108.77°)
OKLaboklab(72.63% -0.0713 0.1455)
OKLCHoklch(72.63% 0.162 116.1)
XYZxyz(30.9479, 39.5732, 6.6698)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B214 #2414B2
analogous
#B27314 #A2B214 #53B214
triadic
#A2B214 #14A2B2 #B214A2
tetradic
#A2B214 #14B273 #2414B2 #B21453
square
#A2B214 #14B273 #2414B2 #B21453
split-complementary
#A2B214 #1453B2 #7314B2
monochromatic
#3E4408 #707B0E #A2B214 #D1E61E #DDEC55

Accessibility & contrast

On white

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

On black

8.91
#A2B214 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B214
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B214#FFFFFF#000000##000000
##A2B2141.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b214;
/* rgb */ color: rgb(162, 178, 20);
/* oklch */ color: oklch(72.6% 0.162 116.1);
Tailwind
colors: {
  custom: {
    50: '#c2c867',
    500: '#a2b214',
    950: '#000000',
  },
}
SCSS
$custom: #a2b214;
$custom-light: #c2c867;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b214",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 20
  },
  "hsl": {
    "h": 66.076,
    "s": 79.798,
    "l": 38.824
  },
  "oklch": {
    "l": 0.7263,
    "c": 0.16201,
    "h": 116.1
  },
  "luminance": 0.39573
}

Semantic roles & 50–950 ramp

primary
#A2B214
secondary
#6053CE
accent
#32F645
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B214

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

Preview Lab → · Contrast checker → · Palette generator →

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