#A4B126#A4B126

#A4B126 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.6% C 0.153 H 115.1°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A4B126
RGBrgb(164, 177, 38)
HSLhsl(66, 65%, 42%)
HSVhsv(66, 79%, 69%)
CMYKcmyk(7.3%, 0%, 78.5%, 30.6%)
CIE-LABlab(69.10, -21.21, 63.65)
CIE-LCHlch(69.10, 67.09, 108.43°)
OKLaboklab(72.63% -0.0651 0.1389)
OKLCHoklch(72.63% 0.153 115.1)
XYZxyz(31.3828, 39.4773, 7.8000)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B126 #3326B1
analogous
#B17926 #A4B126 #5EB126
triadic
#A4B126 #26A4B1 #B126A4
tetradic
#A4B126 #26B179 #3326B1 #B1265E
square
#A4B126 #26B179 #3326B1 #B1265E
split-complementary
#A4B126 #265EB1 #7926B1
monochromatic
#474C10 #757F1B #A4B126 #C8D63F #D6E071

Accessibility & contrast

On white

2.36
#A4B126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#A4B126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B126
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B126#FFFFFF#000000##000000
##A4B1261.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#AFA697
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a4b126;
/* rgb */ color: rgb(164, 177, 38);
/* oklch */ color: oklch(72.6% 0.153 115.1);
Tailwind
colors: {
  custom: {
    50: '#c3c86d',
    500: '#a4b126',
    950: '#000000',
  },
}
SCSS
$custom: #a4b126;
$custom-light: #c3c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b126",
  "rgb": {
    "r": 164,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 65.612,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72633,
    "c": 0.15344,
    "h": 115.1
  },
  "luminance": 0.39477
}

Semantic roles & 50–950 ramp

primary
#A4B126
secondary
#746BC7
accent
#40E850
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A4B126

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

Preview Lab → · Contrast checker → · Palette generator →

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