#A5B330#A5B330

#A5B330 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.150 H 115.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A5B330
RGBrgb(165, 179, 48)
HSLhsl(66, 58%, 45%)
HSVhsv(66, 73%, 70%)
CMYKcmyk(7.8%, 0%, 73.2%, 29.8%)
CIE-LABlab(69.79, -21.33, 61.09)
CIE-LCHlch(69.79, 64.71, 109.25°)
OKLaboklab(73.23% -0.0647 0.1352)
OKLCHoklch(73.23% 0.15 115.6)
XYZxyz(32.1715, 40.4534, 8.9093)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B330 #3E30B3
analogous
#B38030 #A5B330 #64B330
triadic
#A5B330 #30A5B3 #B330A5
tetradic
#A5B330 #30B380 #3E30B3 #B33064
square
#A5B330 #30B380 #3E30B3 #B33064
split-complementary
#A5B330 #3064B3 #8030B3
monochromatic
#4C5216 #798323 #A5B330 #C2D050 #D3DD80

Accessibility & contrast

On white

2.31
#A5B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A5B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B330
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B330#FFFFFF#000000##000000
##A5B3301.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b330;
/* rgb */ color: rgb(165, 179, 48);
/* oklch */ color: oklch(73.2% 0.150 115.6);
Tailwind
colors: {
  custom: {
    50: '#c3c972',
    500: '#a5b330',
    950: '#000000',
  },
}
SCSS
$custom: #a5b330;
$custom-light: #c3c972;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b330",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 66.412,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73227,
    "c": 0.1499,
    "h": 115.6
  },
  "luminance": 0.40453
}

Semantic roles & 50–950 ramp

primary
#A5B330
secondary
#8179C6
accent
#47E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B330

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

Preview Lab → · Contrast checker → · Palette generator →

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