#A5B325#A5B325

#A5B325 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.156 H 115.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A5B325
RGBrgb(165, 179, 37)
HSLhsl(66, 66%, 42%)
HSVhsv(66, 79%, 70%)
CMYKcmyk(7.8%, 0%, 79.3%, 29.8%)
CIE-LABlab(69.73, -21.81, 64.55)
CIE-LCHlch(69.73, 68.13, 108.67°)
OKLaboklab(73.16% -0.0669 0.1406)
OKLCHoklch(73.16% 0.156 115.4)
XYZxyz(31.9720, 40.3736, 7.8586)
Luminance0.4037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B325 #3325B3
analogous
#B37A25 #A5B325 #5EB325
triadic
#A5B325 #25A5B3 #B325A5
tetradic
#A5B325 #25B37A #3325B3 #B3255E
square
#A5B325 #25B37A #3325B3 #B3255E
split-complementary
#A5B325 #255EB3 #7A25B3
monochromatic
#484E10 #76801B #A5B325 #C8D73E #D6E271

Accessibility & contrast

On white

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

On black

9.07
#A5B325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B325
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B325#FFFFFF#000000##000000
##A5B3251.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b325;
/* rgb */ color: rgb(165, 179, 37);
/* oklch */ color: oklch(73.2% 0.156 115.4);
Tailwind
colors: {
  custom: {
    50: '#c3c96d',
    500: '#a5b325',
    950: '#000000',
  },
}
SCSS
$custom: #a5b325;
$custom-light: #c3c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b325",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 37
  },
  "hsl": {
    "h": 65.915,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.73164,
    "c": 0.15575,
    "h": 115.4
  },
  "luminance": 0.40373
}

Semantic roles & 50–950 ramp

primary
#A5B325
secondary
#756BC8
accent
#3FE950
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5B325

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

Preview Lab → · Contrast checker → · Palette generator →

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