#A2B023#A2B023

#A2B023 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.154 H 115.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#A2B023
RGBrgb(162, 176, 35)
HSLhsl(66, 67%, 41%)
HSVhsv(66, 80%, 69%)
CMYKcmyk(8%, 0%, 80.1%, 31%)
CIE-LABlab(68.65, -21.68, 64.06)
CIE-LCHlch(68.65, 67.63, 108.70°)
OKLaboklab(72.23% -0.0665 0.1394)
OKLCHoklch(72.23% 0.154 115.5)
XYZxyz(30.7299, 38.8539, 7.4705)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B023 #3123B0
analogous
#B07823 #A2B023 #5CB023
triadic
#A2B023 #23A2B0 #B023A2
tetradic
#A2B023 #23B078 #3123B0 #B0235C
square
#A2B023 #23B078 #3123B0 #B0235C
split-complementary
#A2B023 #235CB0 #7823B0
monochromatic
#444A0F #737D19 #A2B023 #C8D839 #D6E26C

Accessibility & contrast

On white

2.39
#A2B023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#A2B023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B023
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B023#FFFFFF#000000##000000
##A2B0231.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b023;
/* rgb */ color: rgb(162, 176, 35);
/* oklch */ color: oklch(72.2% 0.154 115.5);
Tailwind
colors: {
  custom: {
    50: '#c1c76c',
    500: '#a2b023',
    950: '#000000',
  },
}
SCSS
$custom: #a2b023;
$custom-light: #c1c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b023",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 65.957,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72229,
    "c": 0.15443,
    "h": 115.5
  },
  "luminance": 0.38853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2B023

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

Preview Lab → · Contrast checker → · Palette generator →

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