#A5B545#A5B545

#A5B545 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.137 H 116.8°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#A5B545
RGBrgb(165, 181, 69)
HSLhsl(69, 45%, 49%)
HSVhsv(69, 62%, 71%)
CMYKcmyk(8.8%, 0%, 61.9%, 29%)
CIE-LABlab(70.51, -21.05, 53.56)
CIE-LCHlch(70.51, 57.55, 111.46°)
OKLaboklab(73.85% -0.0618 0.1226)
OKLCHoklch(73.85% 0.137 116.8)
XYZxyz(33.1157, 41.4771, 11.8904)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B545 #5545B5
analogous
#B58D45 #A5B545 #6DB545
triadic
#A5B545 #45A5B5 #B545A5
tetradic
#A5B545 #45B58D #5545B5 #B5456D
square
#A5B545 #45B58D #5545B5 #B5456D
split-complementary
#A5B545 #456DB5 #8D45B5
monochromatic
#545C23 #7D8934 #A5B545 #BBC86F #D0D99B

Accessibility & contrast

On white

2.26
#A5B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#A5B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B545
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B545#FFFFFF#000000##000000
##A5B5451.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#BFAD4C
Tritanopia (blue-blind)
#AFAB9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b545;
/* rgb */ color: rgb(165, 181, 69);
/* oklch */ color: oklch(73.9% 0.137 116.8);
Tailwind
colors: {
  custom: {
    50: '#c2cb7e',
    500: '#a5b545',
    950: '#000000',
  },
}
SCSS
$custom: #a5b545;
$custom-light: #c2cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b545",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 68.571,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73851,
    "c": 0.13734,
    "h": 116.8
  },
  "luminance": 0.41477
}

Semantic roles & 50–950 ramp

primary
#A5B545
secondary
#9891C5
accent
#53D566
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B545

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

Preview Lab → · Contrast checker → · Palette generator →

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