#A5B625#A5B625

#A5B625 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.8% C 0.159 H 116.5°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A5B625
RGBrgb(165, 182, 37)
HSLhsl(67, 66%, 43%)
HSVhsv(67, 80%, 71%)
CMYKcmyk(9.3%, 0%, 79.7%, 28.6%)
CIE-LABlab(70.59, -23.30, 65.31)
CIE-LCHlch(70.59, 69.34, 109.63°)
OKLaboklab(73.85% -0.071 0.1423)
OKLCHoklch(73.85% 0.159 116.5)
XYZxyz(32.5798, 41.5893, 8.0612)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B625 #3625B6
analogous
#B67E25 #A5B625 #5DB625
triadic
#A5B625 #25A5B6 #B625A5
tetradic
#A5B625 #25B67E #3625B6 #B6255D
square
#A5B625 #25B67E #3625B6 #B6255D
split-complementary
#A5B625 #255DB6 #7E25B6
monochromatic
#495010 #77831B #A5B625 #C6D840 #D5E373

Accessibility & contrast

On white

2.25
#A5B625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A5B625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B625
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B625#FFFFFF#000000##000000
##A5B6251.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C2AE33
Tritanopia (blue-blind)
#B0AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b625;
/* rgb */ color: rgb(165, 182, 37);
/* oklch */ color: oklch(73.8% 0.159 116.5);
Tailwind
colors: {
  custom: {
    50: '#c4cb6d',
    500: '#a5b625',
    950: '#000000',
  },
}
SCSS
$custom: #a5b625;
$custom-light: #c4cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b625",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 37
  },
  "hsl": {
    "h": 67.034,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.15899,
    "h": 116.5
  },
  "luminance": 0.41589
}

Semantic roles & 50–950 ramp

primary
#A5B625
secondary
#786DCA
accent
#3FE953
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B625

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

Preview Lab → · Contrast checker → · Palette generator →

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