#A5B052#A5B052

#A5B052 is a light, moderate yellow. Relative luminance 0.397; OKLCH L 72.9% C 0.120 H 115.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#A5B052
RGBrgb(165, 176, 82)
HSLhsl(67, 37%, 51%)
HSVhsv(67, 53%, 69%)
CMYKcmyk(6.2%, 0%, 53.4%, 31%)
CIE-LABlab(69.23, -17.48, 46.19)
CIE-LCHlch(69.23, 49.39, 110.73°)
OKLaboklab(72.87% -0.0505 0.1084)
OKLCHoklch(72.87% 0.12 115)
XYZxyz(32.5659, 39.6597, 13.9205)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B052 #5D52B0
analogous
#B08C52 #A5B052 #76B052
triadic
#A5B052 #52A5B0 #B052A5
tetradic
#A5B052 #52B08C #5D52B0 #B05276
square
#A5B052 #52B08C #5D52B0 #B05276
split-complementary
#A5B052 #5276B0 #8C52B0
monochromatic
#575D2B #7F873E #A5B052 #BBC37C #D1D6A6

Accessibility & contrast

On white

2.35
#A5B052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#A5B052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B052
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B052#FFFFFF#000000##000000
##A5B0521.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA849
Deuteranopia (green-blind)
#BAAA57
Tritanopia (blue-blind)
#AEA79B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b052;
/* rgb */ color: rgb(165, 176, 82);
/* oklch */ color: oklch(72.9% 0.120 115.0);
Tailwind
colors: {
  custom: {
    50: '#c2c785',
    500: '#a5b052',
    950: '#000000',
  },
}
SCSS
$custom: #a5b052;
$custom-light: #c2c785;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b052",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 67.021,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72865,
    "c": 0.11958,
    "h": 115
  },
  "luminance": 0.39659
}

Semantic roles & 50–950 ramp

primary
#A5B052
secondary
#9F9AC4
accent
#5BCD68
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B052

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

Preview Lab → · Contrast checker → · Palette generator →

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