#A8B045#A8B045

#A8B045 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.131 H 113.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#A8B045
RGBrgb(168, 176, 69)
HSLhsl(64, 44%, 48%)
HSVhsv(64, 61%, 69%)
CMYKcmyk(4.5%, 0%, 60.8%, 31%)
CIE-LABlab(69.33, -17.28, 52.35)
CIE-LCHlch(69.33, 55.12, 108.27°)
OKLaboklab(72.97% -0.0514 0.12)
OKLCHoklch(72.97% 0.131 113.2)
XYZxyz(32.7488, 39.8058, 11.5872)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B045 #4D45B0
analogous
#B08245 #A8B045 #72B045
triadic
#A8B045 #45A8B0 #B045A8
tetradic
#A8B045 #45B082 #4D45B0 #B04572
square
#A8B045 #45B082 #4D45B0 #B04572
split-complementary
#A8B045 #4572B0 #8245B0
monochromatic
#545823 #7E8434 #A8B045 #BFC66D #D2D799

Accessibility & contrast

On white

2.34
#A8B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#A8B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B045
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B045#FFFFFF#000000##000000
##A8B0451.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA838
Deuteranopia (green-blind)
#BCAA4C
Tritanopia (blue-blind)
#B2A699
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b045;
/* rgb */ color: rgb(168, 176, 69);
/* oklch */ color: oklch(73.0% 0.131 113.2);
Tailwind
colors: {
  custom: {
    50: '#c4c77d',
    500: '#a8b045',
    950: '#000000',
  },
}
SCSS
$custom: #a8b045;
$custom-light: #c4c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b045",
  "rgb": {
    "r": 168,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 64.486,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.13055,
    "h": 113.2
  },
  "luminance": 0.39805
}

Semantic roles & 50–950 ramp

primary
#A8B045
secondary
#928EC3
accent
#54D35E
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8B045

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

Preview Lab → · Contrast checker → · Palette generator →

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