#A4B538#A4B538

#A4B538 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.147 H 116.9°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#A4B538
RGBrgb(164, 181, 56)
HSLhsl(68, 53%, 46%)
HSVhsv(68, 69%, 71%)
CMYKcmyk(9.4%, 0%, 69.1%, 29%)
CIE-LABlab(70.33, -22.32, 58.67)
CIE-LCHlch(70.33, 62.77, 110.83°)
OKLaboklab(73.66% -0.0666 0.1315)
OKLCHoklch(73.66% 0.147 116.9)
XYZxyz(32.5483, 41.2262, 9.9834)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B538 #4938B5
analogous
#B58838 #A4B538 #66B538
triadic
#A4B538 #38A4B5 #B538A4
tetradic
#A4B538 #38B588 #4938B5 #B53866
square
#A4B538 #38B588 #4938B5 #B53866
split-complementary
#A4B538 #3866B5 #8838B5
monochromatic
#4F581B #7A862A #A4B538 #BECD5D #D1DB8C

Accessibility & contrast

On white

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

On black

9.25
#A4B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B538
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B538#FFFFFF#000000##000000
##A4B5381.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#AEAB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a4b538;
/* rgb */ color: rgb(164, 181, 56);
/* oklch */ color: oklch(73.7% 0.147 116.9);
Tailwind
colors: {
  custom: {
    50: '#c2cb76',
    500: '#a4b538',
    950: '#000000',
  },
}
SCSS
$custom: #a4b538;
$custom-light: #c2cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b538",
  "rgb": {
    "r": 164,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 68.16,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7366,
    "c": 0.14741,
    "h": 116.9
  },
  "luminance": 0.41226
}

Semantic roles & 50–950 ramp

primary
#A4B538
secondary
#8C83C6
accent
#4CDC5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A4B538

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

Preview Lab → · Contrast checker → · Palette generator →

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