#A2B323#A2B323

#A2B323 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.158 H 116.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A2B323
RGBrgb(162, 179, 35)
HSLhsl(67, 67%, 42%)
HSVhsv(67, 80%, 70%)
CMYKcmyk(9.5%, 0%, 80.4%, 29.8%)
CIE-LABlab(69.50, -23.17, 64.82)
CIE-LCHlch(69.50, 68.83, 109.67°)
OKLaboklab(72.92% -0.0706 0.141)
OKLCHoklch(72.92% 0.158 116.6)
XYZxyz(31.3246, 40.0434, 7.6688)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B323 #3423B3
analogous
#B37C23 #A2B323 #5AB323
triadic
#A2B323 #23A2B3 #B323A2
tetradic
#A2B323 #23B37C #3423B3 #B3235A
square
#A2B323 #23B37C #3423B3 #B3235A
split-complementary
#A2B323 #235AB3 #7C23B3
monochromatic
#454D0F #748019 #A2B323 #C6D93B #D5E36E

Accessibility & contrast

On white

2.33
#A2B323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A2B323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B323
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B323#FFFFFF#000000##000000
##A2B3231.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b323;
/* rgb */ color: rgb(162, 179, 35);
/* oklch */ color: oklch(72.9% 0.158 116.6);
Tailwind
colors: {
  custom: {
    50: '#c1c96c',
    500: '#a2b323',
    950: '#000000',
  },
}
SCSS
$custom: #a2b323;
$custom-light: #c1c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b323",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 35
  },
  "hsl": {
    "h": 67.083,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72916,
    "c": 0.15768,
    "h": 116.6
  },
  "luminance": 0.40043
}

Semantic roles & 50–950 ramp

primary
#A2B323
secondary
#7469C9
accent
#3EEA52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2B323

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

Preview Lab → · Contrast checker → · Palette generator →

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