#A5B425#A5B425

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

Color values

HEX#A5B425
RGBrgb(165, 180, 37)
HSLhsl(66, 66%, 43%)
HSVhsv(66, 79%, 71%)
CMYKcmyk(8.3%, 0%, 79.4%, 29.4%)
CIE-LABlab(70.02, -22.31, 64.80)
CIE-LCHlch(70.02, 68.53, 109.00°)
OKLaboklab(73.39% -0.0683 0.1412)
OKLCHoklch(73.39% 0.157 115.8)
XYZxyz(32.1732, 40.7759, 7.9256)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B425 #3425B4
analogous
#B47C25 #A5B425 #5DB425
triadic
#A5B425 #25A5B4 #B425A5
tetradic
#A5B425 #25B47C #3425B4 #B4255D
square
#A5B425 #25B47C #3425B4 #B4255D
split-complementary
#A5B425 #255DB4 #7C25B4
monochromatic
#484E10 #76811B #A5B425 #C7D73F #D6E271

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B425#FFFFFF#000000##000000
##A5B4251.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)
#C0AC33
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b425;
/* rgb */ color: rgb(165, 180, 37);
/* oklch */ color: oklch(73.4% 0.157 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3ca6d',
    500: '#a5b425',
    950: '#000000',
  },
}
SCSS
$custom: #a5b425;
$custom-light: #c3ca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b425",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 37
  },
  "hsl": {
    "h": 66.294,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73392,
    "c": 0.15682,
    "h": 115.8
  },
  "luminance": 0.40775
}

Semantic roles & 50–950 ramp

primary
#A5B425
secondary
#766CC9
accent
#3FE951
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5B425

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

Preview Lab → · Contrast checker → · Palette generator →

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