#A7B548#A7B548

#A7B548 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.0% C 0.134 H 115.9°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#A7B548
RGBrgb(167, 181, 72)
HSLhsl(68, 43%, 50%)
HSVhsv(68, 60%, 71%)
CMYKcmyk(7.7%, 0%, 60.2%, 29%)
CIE-LABlab(70.69, -20.00, 52.48)
CIE-LCHlch(70.69, 56.16, 110.86°)
OKLaboklab(74.04% -0.0587 0.1207)
OKLCHoklch(74.04% 0.134 115.9)
XYZxyz(33.6306, 41.7316, 12.4130)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B548 #5648B5
analogous
#B58C48 #A7B548 #71B548
triadic
#A7B548 #48A7B5 #B548A7
tetradic
#A7B548 #48B58C #5648B5 #B54871
square
#A7B548 #48B58C #5648B5 #B54871
split-complementary
#A7B548 #4871B5 #8C48B5
monochromatic
#565D25 #7F8937 #A7B548 #BCC773 #D1D99F

Accessibility & contrast

On white

2.25
#A7B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#A7B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B548
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B548#FFFFFF#000000##000000
##A7B5481.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b548;
/* rgb */ color: rgb(167, 181, 72);
/* oklch */ color: oklch(74.0% 0.134 115.9);
Tailwind
colors: {
  custom: {
    50: '#c4cb7f',
    500: '#a7b548',
    950: '#000000',
  },
}
SCSS
$custom: #a7b548;
$custom-light: #c4cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b548",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 67.706,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74039,
    "c": 0.13422,
    "h": 115.9
  },
  "luminance": 0.41731
}

Semantic roles & 50–950 ramp

primary
#A7B548
secondary
#9A93C5
accent
#55D365
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B548

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

Preview Lab → · Contrast checker → · Palette generator →

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