#A8B431#A8B431

#A8B431 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.149 H 114.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A8B431
RGBrgb(168, 180, 49)
HSLhsl(65, 57%, 45%)
HSVhsv(65, 73%, 71%)
CMYKcmyk(6.7%, 0%, 72.8%, 29.4%)
CIE-LABlab(70.31, -20.51, 61.31)
CIE-LCHlch(70.31, 64.65, 108.49°)
OKLaboklab(73.7% -0.0625 0.1358)
OKLCHoklch(73.7% 0.149 114.7)
XYZxyz(33.0250, 41.1897, 9.1158)
Luminance0.4119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B431 #3D31B4
analogous
#B47E31 #A8B431 #67B431
triadic
#A8B431 #31A8B4 #B431A8
tetradic
#A8B431 #31B47E #3D31B4 #B43167
square
#A8B431 #31B47E #3D31B4 #B43167
split-complementary
#A8B431 #3167B4 #7E31B4
monochromatic
#4E5417 #7B8424 #A8B431 #C4D052 #D5DD82

Accessibility & contrast

On white

2.27
#A8B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#A8B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B431
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B431#FFFFFF#000000##000000
##A8B4311.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB17
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#B3A99B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b431;
/* rgb */ color: rgb(168, 180, 49);
/* oklch */ color: oklch(73.7% 0.149 114.7);
Tailwind
colors: {
  custom: {
    50: '#c5ca73',
    500: '#a8b431',
    950: '#000000',
  },
}
SCSS
$custom: #a8b431;
$custom-light: #c5ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b431",
  "rgb": {
    "r": 168,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 65.496,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73701,
    "c": 0.14947,
    "h": 114.7
  },
  "luminance": 0.41189
}

Semantic roles & 50–950 ramp

primary
#A8B431
secondary
#817BC6
accent
#47E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B431

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

Preview Lab → · Contrast checker → · Palette generator →

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