#A3B231#A3B231

#A3B231 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.149 H 116.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#A3B231
RGBrgb(163, 178, 49)
HSLhsl(67, 57%, 45%)
HSVhsv(67, 72%, 70%)
CMYKcmyk(8.4%, 0%, 72.5%, 30.2%)
CIE-LABlab(69.36, -21.63, 60.27)
CIE-LCHlch(69.36, 64.04, 109.75°)
OKLaboklab(72.85% -0.0653 0.1337)
OKLCHoklch(72.85% 0.149 116)
XYZxyz(31.5798, 39.8495, 8.9333)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B231 #4031B2
analogous
#B28131 #A3B231 #62B231
triadic
#A3B231 #31A3B2 #B231A3
tetradic
#A3B231 #31B281 #4031B2 #B23162
square
#A3B231 #31B281 #4031B2 #B23162
split-complementary
#A3B231 #3162B2 #8131B2
monochromatic
#4B5217 #778224 #A3B231 #C0CF51 #D2DC81

Accessibility & contrast

On white

2.34
#A3B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#A3B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3B231
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3B231#FFFFFF#000000##000000
##A3B2311.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a3b231;
/* rgb */ color: rgb(163, 178, 49);
/* oklch */ color: oklch(72.8% 0.149 116.0);
Tailwind
colors: {
  custom: {
    50: '#c2c872',
    500: '#a3b231',
    950: '#000000',
  },
}
SCSS
$custom: #a3b231;
$custom-light: #c2c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b231",
  "rgb": {
    "r": 163,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 66.977,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72847,
    "c": 0.14883,
    "h": 116
  },
  "luminance": 0.39849
}

Semantic roles & 50–950 ramp

primary
#A3B231
secondary
#8279C5
accent
#48E059
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A3B231

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

Preview Lab → · Contrast checker → · Palette generator →

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