#A5B130#A5B130

#A5B130 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.148 H 114.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#A5B130
RGBrgb(165, 177, 48)
HSLhsl(66, 57%, 44%)
HSVhsv(66, 73%, 69%)
CMYKcmyk(6.8%, 0%, 72.9%, 30.6%)
CIE-LABlab(69.22, -20.34, 60.55)
CIE-LCHlch(69.22, 63.87, 108.57°)
OKLaboklab(72.77% -0.0619 0.1341)
OKLCHoklch(72.77% 0.148 114.8)
XYZxyz(31.7736, 39.6576, 8.7766)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B130 #3C30B1
analogous
#B17D30 #A5B130 #65B130
triadic
#A5B130 #30A5B1 #B130A5
tetradic
#A5B130 #30B17D #3C30B1 #B13065
square
#A5B130 #30B17D #3C30B1 #B13065
split-complementary
#A5B130 #3065B1 #7D30B1
monochromatic
#4B5116 #788123 #A5B130 #C3CF4F #D4DC7F

Accessibility & contrast

On white

2.35
#A5B130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#A5B130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B130
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B130#FFFFFF#000000##000000
##A5B1301.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA817
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#B0A798
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b130;
/* rgb */ color: rgb(165, 177, 48);
/* oklch */ color: oklch(72.8% 0.148 114.8);
Tailwind
colors: {
  custom: {
    50: '#c3c872',
    500: '#a5b130',
    950: '#000000',
  },
}
SCSS
$custom: #a5b130;
$custom-light: #c3c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b130",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 65.581,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72773,
    "c": 0.14769,
    "h": 114.8
  },
  "luminance": 0.39657
}

Semantic roles & 50–950 ramp

primary
#A5B130
secondary
#7F78C5
accent
#47E155
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B130

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

Preview Lab → · Contrast checker → · Palette generator →

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