#A4B248#A4B248

#A4B248 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.132 H 116.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A4B248
RGBrgb(164, 178, 72)
HSLhsl(68, 42%, 49%)
HSVhsv(68, 60%, 70%)
CMYKcmyk(7.9%, 0%, 59.6%, 30.2%)
CIE-LABlab(69.61, -19.74, 51.24)
CIE-LCHlch(69.61, 54.91, 111.07°)
OKLaboklab(73.12% -0.0578 0.1181)
OKLCHoklch(73.12% 0.132 116.1)
XYZxyz(32.4006, 40.2016, 12.1825)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B248 #5648B2
analogous
#B28B48 #A4B248 #6FB248
triadic
#A4B248 #48A4B2 #B248A4
tetradic
#A4B248 #48B28B #5648B2 #B2486F
square
#A4B248 #48B28B #5648B2 #B2486F
split-complementary
#A4B248 #486FB2 #8B48B2
monochromatic
#545B25 #7C8636 #A4B248 #BBC671 #D0D79D

Accessibility & contrast

On white

2.32
#A4B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A4B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B248
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B248#FFFFFF#000000##000000
##A4B2481.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93C
Deuteranopia (green-blind)
#BCAB4F
Tritanopia (blue-blind)
#ADA99B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b248;
/* rgb */ color: rgb(164, 178, 72);
/* oklch */ color: oklch(73.1% 0.132 116.1);
Tailwind
colors: {
  custom: {
    50: '#c1c97f',
    500: '#a4b248',
    950: '#000000',
  },
}
SCSS
$custom: #a4b248;
$custom-light: #c1c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b248",
  "rgb": {
    "r": 164,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 67.925,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73123,
    "c": 0.1315,
    "h": 116.1
  },
  "luminance": 0.40201
}

Semantic roles & 50–950 ramp

primary
#A4B248
secondary
#9992C4
accent
#56D266
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A4B248

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

Preview Lab → · Contrast checker → · Palette generator →

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