#A2B04D#A2B04D

#A2B04D is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.125 H 116.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#A2B04D
RGBrgb(162, 176, 77)
HSLhsl(68, 39%, 50%)
HSVhsv(68, 56%, 69%)
CMYKcmyk(8%, 0%, 56.2%, 31%)
CIE-LABlab(68.95, -19.16, 48.16)
CIE-LCHlch(68.95, 51.83, 111.69°)
OKLaboklab(72.57% -0.0555 0.1122)
OKLCHoklch(72.57% 0.125 116.3)
XYZxyz(31.7657, 39.2682, 12.9259)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B04D #5B4DB0
analogous
#B08D4D #A2B04D #71B04D
triadic
#A2B04D #4DA2B0 #B04DA2
tetradic
#A2B04D #4DB08D #5B4DB0 #B04D71
square
#A2B04D #4DB08D #5B4DB0 #B04D71
split-complementary
#A2B04D #4D71B0 #8D4DB0
monochromatic
#545B28 #7B853A #A2B04D #B9C377 #CFD6A1

Accessibility & contrast

On white

2.37
#A2B04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#A2B04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B04D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B04D#FFFFFF#000000##000000
##A2B04D1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA843
Deuteranopia (green-blind)
#BAA953
Tritanopia (blue-blind)
#ABA79A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b04d;
/* rgb */ color: rgb(162, 176, 77);
/* oklch */ color: oklch(72.6% 0.125 116.3);
Tailwind
colors: {
  custom: {
    50: '#c0c782',
    500: '#a2b04d',
    950: '#000000',
  },
}
SCSS
$custom: #a2b04d;
$custom-light: #c0c782;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b04d",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 68.485,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72566,
    "c": 0.12517,
    "h": 116.3
  },
  "luminance": 0.39268
}

Semantic roles & 50–950 ramp

primary
#A2B04D
secondary
#9C96C3
accent
#59CF69
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B04D

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

Preview Lab → · Contrast checker → · Palette generator →

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