#A2B230#A2B230

#A2B230 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.150 H 116.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#A2B230
RGBrgb(162, 178, 48)
HSLhsl(67, 58%, 44%)
HSVhsv(67, 73%, 70%)
CMYKcmyk(9%, 0%, 73%, 30.2%)
CIE-LABlab(69.28, -22.11, 60.52)
CIE-LCHlch(69.28, 64.43, 110.07°)
OKLaboklab(72.76% -0.0666 0.1341)
OKLCHoklch(72.76% 0.15 116.4)
XYZxyz(31.3550, 39.7360, 8.8138)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B230 #4030B2
analogous
#B28130 #A2B230 #61B230
triadic
#A2B230 #30A2B2 #B230A2
tetradic
#A2B230 #30B281 #4030B2 #B23061
square
#A2B230 #30B281 #4030B2 #B23061
split-complementary
#A2B230 #3061B2 #8130B2
monochromatic
#4A5216 #768223 #A2B230 #C0D050 #D1DD80

Accessibility & contrast

On white

2.35
#A2B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#A2B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B230
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B230#FFFFFF#000000##000000
##A2B2301.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA916
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b230;
/* rgb */ color: rgb(162, 178, 48);
/* oklch */ color: oklch(72.8% 0.150 116.4);
Tailwind
colors: {
  custom: {
    50: '#c1c872',
    500: '#a2b230',
    950: '#000000',
  },
}
SCSS
$custom: #a2b230;
$custom-light: #c1c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b230",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 67.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72761,
    "c": 0.14978,
    "h": 116.4
  },
  "luminance": 0.39736
}

Semantic roles & 50–950 ramp

primary
#A2B230
secondary
#8278C6
accent
#47E15A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B230

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

Preview Lab → · Contrast checker → · Palette generator →

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