#A9B31E#A9B31E

#A9B31E is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.157 H 113.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#A9B31E
RGBrgb(169, 179, 30)
HSLhsl(64, 71%, 41%)
HSVhsv(64, 83%, 70%)
CMYKcmyk(5.6%, 0%, 83.2%, 29.8%)
CIE-LABlab(70.01, -20.33, 66.78)
CIE-LCHlch(70.01, 69.81, 106.94°)
OKLaboklab(73.46% -0.0635 0.1441)
OKLCHoklch(73.46% 0.157 113.8)
XYZxyz(32.7177, 40.7697, 7.3739)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B31E #281EB3
analogous
#B3721E #A9B31E #5EB31E
triadic
#A9B31E #1EA9B3 #B31EA9
tetradic
#A9B31E #1EB372 #281EB3 #B31E5E
square
#A9B31E #1EB372 #281EB3 #B31E5E
split-complementary
#A9B31E #1E5EB3 #721EB3
monochromatic
#464A0C #787F15 #A9B31E #D1DD32 #DDE566

Accessibility & contrast

On white

2.29
#A9B31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#A9B31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B31E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B31E#FFFFFF#000000##000000
##A9B31E1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AC2E
Tritanopia (blue-blind)
#B5A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a9b31e;
/* rgb */ color: rgb(169, 179, 30);
/* oklch */ color: oklch(73.5% 0.157 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7c96a',
    500: '#a9b31e',
    950: '#000000',
  },
}
SCSS
$custom: #a9b31e;
$custom-light: #c7c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b31e",
  "rgb": {
    "r": 169,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 64.027,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73455,
    "c": 0.15743,
    "h": 113.8
  },
  "luminance": 0.40769
}

Semantic roles & 50–950 ramp

primary
#A9B31E
secondary
#6962CB
accent
#3AEE46
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A9B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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