#A4B125#A4B125

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

Color values

HEX#A4B125
RGBrgb(164, 177, 37)
HSLhsl(66, 65%, 42%)
HSVhsv(66, 79%, 69%)
CMYKcmyk(7.3%, 0%, 79.1%, 30.6%)
CIE-LABlab(69.09, -21.25, 63.94)
CIE-LCHlch(69.09, 67.38, 108.38°)
OKLaboklab(72.63% -0.0653 0.1394)
OKLCHoklch(72.63% 0.154 115.1)
XYZxyz(31.3668, 39.4709, 7.7162)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B125 #3225B1
analogous
#B17825 #A4B125 #5EB125
triadic
#A4B125 #25A4B1 #B125A4
tetradic
#A4B125 #25B178 #3225B1 #B1255E
square
#A4B125 #25B178 #3225B1 #B1255E
split-complementary
#A4B125 #255EB1 #7825B1
monochromatic
#464C10 #757E1A #A4B125 #C8D63D #D6E16F

Accessibility & contrast

On white

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

On black

8.89
#A4B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B125
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B125#FFFFFF#000000##000000
##A4B1251.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4b125;
/* rgb */ color: rgb(164, 177, 37);
/* oklch */ color: oklch(72.6% 0.154 115.1);
Tailwind
colors: {
  custom: {
    50: '#c3c86d',
    500: '#a4b125',
    950: '#000000',
  },
}
SCSS
$custom: #a4b125;
$custom-light: #c3c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b125",
  "rgb": {
    "r": 164,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 65.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72628,
    "c": 0.15391,
    "h": 115.1
  },
  "luminance": 0.3947
}

Semantic roles & 50–950 ramp

primary
#A4B125
secondary
#736AC8
accent
#3FE84F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A4B125

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

Preview Lab → · Contrast checker → · Palette generator →

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