#A5B454#A5B454

#A5B454 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.8% C 0.123 H 116.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#A5B454
RGBrgb(165, 180, 84)
HSLhsl(69, 39%, 52%)
HSVhsv(69, 53%, 71%)
CMYKcmyk(8.3%, 0%, 53.3%, 29.4%)
CIE-LABlab(70.37, -19.33, 46.57)
CIE-LCHlch(70.37, 50.42, 112.54°)
OKLaboklab(73.79% -0.0555 0.1094)
OKLCHoklch(73.79% 0.123 116.9)
XYZxyz(33.4390, 41.2823, 14.5925)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B454 #6354B4
analogous
#B49354 #A5B454 #75B454
triadic
#A5B454 #54A5B4 #B454A5
tetradic
#A5B454 #54B493 #6354B4 #B45475
square
#A5B454 #54B493 #6354B4 #B45475
split-complementary
#A5B454 #5475B4 #9354B4
monochromatic
#5A622B #818D3E #A5B454 #BBC77F #D2D9A9

Accessibility & contrast

On white

2.27
#A5B454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#A5B454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B454
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B454#FFFFFF#000000##000000
##A5B4541.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4B
Deuteranopia (green-blind)
#BDAD59
Tritanopia (blue-blind)
#AEAB9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b454;
/* rgb */ color: rgb(165, 180, 84);
/* oklch */ color: oklch(73.8% 0.123 116.9);
Tailwind
colors: {
  custom: {
    50: '#c2ca87',
    500: '#a5b454',
    950: '#000000',
  },
}
SCSS
$custom: #a5b454;
$custom-light: #c2ca87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b454",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 69.375,
    "s": 39.024,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7379,
    "c": 0.12269,
    "h": 116.9
  },
  "luminance": 0.41282
}

Semantic roles & 50–950 ramp

primary
#A5B454
secondary
#A39DC7
accent
#59CF6B
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B454

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

Preview Lab → · Contrast checker → · Palette generator →

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