#A5B725#A5B725

#A5B725 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.160 H 116.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#A5B725
RGBrgb(165, 183, 37)
HSLhsl(67, 66%, 43%)
HSVhsv(67, 80%, 72%)
CMYKcmyk(9.8%, 0%, 79.8%, 28.2%)
CIE-LABlab(70.87, -23.79, 65.56)
CIE-LCHlch(70.87, 69.74, 109.94°)
OKLaboklab(74.08% -0.0723 0.1428)
OKLCHoklch(74.08% 0.16 116.9)
XYZxyz(32.7853, 42.0003, 8.1297)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B725 #3725B7
analogous
#B78025 #A5B725 #5CB725
triadic
#A5B725 #25A5B7 #B725A5
tetradic
#A5B725 #25B780 #3725B7 #B7255C
square
#A5B725 #25B780 #3725B7 #B7255C
split-complementary
#A5B725 #255CB7 #8025B7
monochromatic
#495110 #77841B #A5B725 #C6D941 #D5E374

Accessibility & contrast

On white

2.23
#A5B725 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#A5B725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B725
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B725#FFFFFF#000000##000000
##A5B7251.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#B0AC9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b725;
/* rgb */ color: rgb(165, 183, 37);
/* oklch */ color: oklch(74.1% 0.160 116.9);
Tailwind
colors: {
  custom: {
    50: '#c4cc6d',
    500: '#a5b725',
    950: '#000000',
  },
}
SCSS
$custom: #a5b725;
$custom-light: #c4cc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b725",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 37
  },
  "hsl": {
    "h": 67.397,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.74077,
    "c": 0.16008,
    "h": 116.9
  },
  "luminance": 0.42
}

Semantic roles & 50–950 ramp

primary
#A5B725
secondary
#796ECA
accent
#3FE954
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B725

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

Preview Lab → · Contrast checker → · Palette generator →

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