#A8B548#A8B548

#A8B548 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.134 H 115.5°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#A8B548
RGBrgb(168, 181, 72)
HSLhsl(67, 43%, 50%)
HSVhsv(67, 60%, 71%)
CMYKcmyk(7.2%, 0%, 60.2%, 29%)
CIE-LABlab(70.76, -19.58, 52.59)
CIE-LCHlch(70.76, 56.11, 110.42°)
OKLaboklab(74.12% -0.0576 0.1209)
OKLCHoklch(74.12% 0.134 115.5)
XYZxyz(33.8427, 41.8409, 12.4229)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B548 #5548B5
analogous
#B58C48 #A8B548 #72B548
triadic
#A8B548 #48A8B5 #B548A8
tetradic
#A8B548 #48B58C #5548B5 #B54872
square
#A8B548 #48B58C #5548B5 #B54872
split-complementary
#A8B548 #4872B5 #8C48B5
monochromatic
#575D25 #7F8937 #A8B548 #BDC773 #D2D99F

Accessibility & contrast

On white

2.24
#A8B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#A8B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B548
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B548#FFFFFF#000000##000000
##A8B5481.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3B
Deuteranopia (green-blind)
#C0AE4F
Tritanopia (blue-blind)
#B2AB9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b548;
/* rgb */ color: rgb(168, 181, 72);
/* oklch */ color: oklch(74.1% 0.134 115.5);
Tailwind
colors: {
  custom: {
    50: '#c4cb7f',
    500: '#a8b548',
    950: '#000000',
  },
}
SCSS
$custom: #a8b548;
$custom-light: #c4cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b548",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 67.156,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74118,
    "c": 0.13392,
    "h": 115.5
  },
  "luminance": 0.4184
}

Semantic roles & 50–950 ramp

primary
#A8B548
secondary
#9993C5
accent
#55D364
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8B548

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

Preview Lab → · Contrast checker → · Palette generator →

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