#A4B338#A4B338

#A4B338 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.145 H 116.1°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A4B338
RGBrgb(164, 179, 56)
HSLhsl(67, 52%, 46%)
HSVhsv(67, 69%, 70%)
CMYKcmyk(8.4%, 0%, 68.7%, 29.8%)
CIE-LABlab(69.77, -21.33, 58.10)
CIE-LCHlch(69.77, 61.89, 110.16°)
OKLaboklab(73.21% -0.0638 0.1303)
OKLCHoklch(73.21% 0.145 116.1)
XYZxyz(32.1445, 40.4187, 9.8488)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B338 #4738B3
analogous
#B38438 #A4B338 #66B338
triadic
#A4B338 #38A4B3 #B338A4
tetradic
#A4B338 #38B384 #4738B3 #B33866
square
#A4B338 #38B384 #4738B3 #B33866
split-complementary
#A4B338 #3866B3 #8438B3
monochromatic
#4F561B #798429 #A4B338 #BECC5C #D1DB8B

Accessibility & contrast

On white

2.31
#A4B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A4B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B338
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B338#FFFFFF#000000##000000
##A4B3381.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#AEA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b338;
/* rgb */ color: rgb(164, 179, 56);
/* oklch */ color: oklch(73.2% 0.145 116.1);
Tailwind
colors: {
  custom: {
    50: '#c2c976',
    500: '#a4b338',
    950: '#000000',
  },
}
SCSS
$custom: #a4b338;
$custom-light: #c2c976;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b338",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 67.317,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73205,
    "c": 0.1451,
    "h": 116.1
  },
  "luminance": 0.40418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4B338

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

Preview Lab → · Contrast checker → · Palette generator →

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