#A4B545#A4B545

#A4B545 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.138 H 117.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#A4B545
RGBrgb(164, 181, 69)
HSLhsl(69, 45%, 49%)
HSVhsv(69, 62%, 71%)
CMYKcmyk(9.4%, 0%, 61.9%, 29%)
CIE-LABlab(70.43, -21.47, 53.45)
CIE-LCHlch(70.43, 57.60, 111.88°)
OKLaboklab(73.77% -0.0629 0.1224)
OKLCHoklch(73.77% 0.138 117.2)
XYZxyz(32.9085, 41.3703, 11.8807)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B545 #5645B5
analogous
#B58E45 #A4B545 #6CB545
triadic
#A4B545 #45A4B5 #B545A4
tetradic
#A4B545 #45B58E #5645B5 #B5456C
square
#A4B545 #45B58E #5645B5 #B5456C
split-complementary
#A4B545 #456CB5 #8E45B5
monochromatic
#545C23 #7C8934 #A4B545 #BBC86F #D0D99B

Accessibility & contrast

On white

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

On black

9.27
#A4B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B545
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B545#FFFFFF#000000##000000
##A4B5451.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4b545;
/* rgb */ color: rgb(164, 181, 69);
/* oklch */ color: oklch(73.8% 0.138 117.2);
Tailwind
colors: {
  custom: {
    50: '#c1cb7e',
    500: '#a4b545',
    950: '#000000',
  },
}
SCSS
$custom: #a4b545;
$custom-light: #c1cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b545",
  "rgb": {
    "r": 164,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 69.107,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73773,
    "c": 0.13766,
    "h": 117.2
  },
  "luminance": 0.4137
}

Semantic roles & 50–950 ramp

primary
#A4B545
secondary
#9991C5
accent
#53D567
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A4B545

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

Preview Lab → · Contrast checker → · Palette generator →

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