#A5A25B#A5A25B

#A5A25B is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.093 H 106.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A5A25B
RGBrgb(165, 162, 91)
HSLhsl(58, 29%, 50%)
HSVhsv(58, 45%, 65%)
CMYKcmyk(0%, 1.8%, 44.8%, 35.3%)
CIE-LABlab(65.43, -9.34, 37.16)
CIE-LCHlch(65.43, 38.32, 104.11°)
OKLaboklab(69.88% -0.0264 0.0894)
OKLCHoklch(69.88% 0.093 106.4)
XYZxyz(30.3263, 34.5961, 14.9757)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A25B #5B5EA5
analogous
#A57D5B #A5A25B #83A55B
triadic
#A5A25B #5BA5A2 #A25BA5
tetradic
#A5A25B #5BA57D #5B5EA5 #A55B83
square
#A5A25B #5BA57D #5B5EA5 #A55B83
split-complementary
#A5A25B #5B83A5 #7D5BA5
monochromatic
#56552F #7E7B45 #A5A25B #BBB883 #D0CFAA

Accessibility & contrast

On white

2.65
#A5A25B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A5A25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A25B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A25B#FFFFFF#000000##000000
##A5A25B1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D55
Deuteranopia (green-blind)
#AEA05E
Tritanopia (blue-blind)
#AF9A91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a25b;
/* rgb */ color: rgb(165, 162, 91);
/* oklch */ color: oklch(69.9% 0.093 106.4);
Tailwind
colors: {
  custom: {
    50: '#c1bd8b',
    500: '#a5a25b',
    950: '#000000',
  },
}
SCSS
$custom: #a5a25b;
$custom-light: #c1bd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a25b",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 91
  },
  "hsl": {
    "h": 57.568,
    "s": 29.134,
    "l": 50.196
  },
  "oklch": {
    "l": 0.69875,
    "c": 0.09318,
    "h": 106.4
  },
  "luminance": 0.34595
}

Semantic roles & 50–950 ramp

primary
#A5A25B
secondary
#9D9FBE
accent
#66C562
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A25B

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

Preview Lab → · Contrast checker → · Palette generator →

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