#A4B231#A4B231

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

Color values

HEX#A4B231
RGBrgb(164, 178, 49)
HSLhsl(67, 57%, 45%)
HSVhsv(67, 72%, 70%)
CMYKcmyk(7.9%, 0%, 72.5%, 30.2%)
CIE-LABlab(69.44, -21.21, 60.37)
CIE-LCHlch(69.44, 63.99, 109.36°)
OKLaboklab(72.93% -0.0642 0.1339)
OKLCHoklch(72.93% 0.149 115.6)
XYZxyz(31.7855, 39.9556, 8.9429)
Luminance0.3996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B231 #3F31B2
analogous
#B28031 #A4B231 #63B231
triadic
#A4B231 #31A4B2 #B231A4
tetradic
#A4B231 #31B280 #3F31B2 #B23163
square
#A4B231 #31B280 #3F31B2 #B23163
split-complementary
#A4B231 #3163B2 #8031B2
monochromatic
#4C5217 #788224 #A4B231 #C1CF51 #D2DC81

Accessibility & contrast

On white

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

On black

8.99
#A4B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B231
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B231#FFFFFF#000000##000000
##A4B2311.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b231;
/* rgb */ color: rgb(164, 178, 49);
/* oklch */ color: oklch(72.9% 0.149 115.6);
Tailwind
colors: {
  custom: {
    50: '#c2c872',
    500: '#a4b231',
    950: '#000000',
  },
}
SCSS
$custom: #a4b231;
$custom-light: #c2c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b231",
  "rgb": {
    "r": 164,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 66.512,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72926,
    "c": 0.14851,
    "h": 115.6
  },
  "luminance": 0.39955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4B231

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

Preview Lab → · Contrast checker → · Palette generator →

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