#A4B438#A4B438

#A4B438 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.146 H 116.5°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A4B438
RGBrgb(164, 180, 56)
HSLhsl(68, 53%, 46%)
HSVhsv(68, 69%, 71%)
CMYKcmyk(8.9%, 0%, 68.9%, 29.4%)
CIE-LABlab(70.05, -21.82, 58.38)
CIE-LCHlch(70.05, 62.33, 110.50°)
OKLaboklab(73.43% -0.0652 0.1309)
OKLCHoklch(73.43% 0.146 116.5)
XYZxyz(32.3457, 40.8210, 9.9159)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B438 #4838B4
analogous
#B48638 #A4B438 #66B438
triadic
#A4B438 #38A4B4 #B438A4
tetradic
#A4B438 #38B486 #4838B4 #B43866
square
#A4B438 #38B486 #4838B4 #B43866
split-complementary
#A4B438 #3866B4 #8638B4
monochromatic
#4F571B #798529 #A4B438 #BECD5D #D1DB8B

Accessibility & contrast

On white

2.29
#A4B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A4B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B438
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B438#FFFFFF#000000##000000
##A4B4381.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB25
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#AEAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a4b438;
/* rgb */ color: rgb(164, 180, 56);
/* oklch */ color: oklch(73.4% 0.146 116.5);
Tailwind
colors: {
  custom: {
    50: '#c2ca76',
    500: '#a4b438',
    950: '#000000',
  },
}
SCSS
$custom: #a4b438;
$custom-light: #c2ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b438",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 67.742,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73432,
    "c": 0.14625,
    "h": 116.5
  },
  "luminance": 0.40821
}

Semantic roles & 50–950 ramp

primary
#A4B438
secondary
#8B82C5
accent
#4CDC5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A4B438

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

Preview Lab → · Contrast checker → · Palette generator →

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