#A4B731#A4B731

#A4B731 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.154 H 117.4°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#A4B731
RGBrgb(164, 183, 49)
HSLhsl(69, 58%, 45%)
HSVhsv(69, 73%, 72%)
CMYKcmyk(10.4%, 0%, 73.2%, 28.2%)
CIE-LABlab(70.86, -23.68, 61.74)
CIE-LCHlch(70.86, 66.13, 110.99°)
OKLaboklab(74.07% -0.071 0.1368)
OKLCHoklch(74.07% 0.154 117.4)
XYZxyz(32.7985, 41.9816, 9.2806)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B731 #4431B7
analogous
#B78731 #A4B731 #61B731
triadic
#A4B731 #31A4B7 #B731A4
tetradic
#A4B731 #31B787 #4431B7 #B73161
square
#A4B731 #31B787 #4431B7 #B73161
split-complementary
#A4B731 #3161B7 #8731B7
monochromatic
#4D5617 #798724 #A4B731 #BFD154 #D1DE84

Accessibility & contrast

On white

2.23
#A4B731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#A4B731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B731
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B731#FFFFFF#000000##000000
##A4B7311.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD16
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#AEAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a4b731;
/* rgb */ color: rgb(164, 183, 49);
/* oklch */ color: oklch(74.1% 0.154 117.4);
Tailwind
colors: {
  custom: {
    50: '#c2cc73',
    500: '#a4b731',
    950: '#000000',
  },
}
SCSS
$custom: #a4b731;
$custom-light: #c2cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b731",
  "rgb": {
    "r": 164,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 68.507,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74067,
    "c": 0.15415,
    "h": 117.4
  },
  "luminance": 0.41981
}

Semantic roles & 50–950 ramp

primary
#A4B731
secondary
#877CC8
accent
#47E15D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A4B731

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

Preview Lab → · Contrast checker → · Palette generator →

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