#A7B045#A7B045

#A7B045 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.9% C 0.131 H 113.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#A7B045
RGBrgb(167, 176, 69)
HSLhsl(65, 44%, 48%)
HSVhsv(65, 61%, 69%)
CMYKcmyk(5.1%, 0%, 60.8%, 31%)
CIE-LABlab(69.25, -17.70, 52.24)
CIE-LCHlch(69.25, 55.15, 108.72°)
OKLaboklab(72.88% -0.0525 0.1198)
OKLCHoklch(72.88% 0.131 113.7)
XYZxyz(32.5366, 39.6964, 11.5773)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B045 #4E45B0
analogous
#B08345 #A7B045 #71B045
triadic
#A7B045 #45A7B0 #B045A7
tetradic
#A7B045 #45B083 #4E45B0 #B04571
square
#A7B045 #45B083 #4E45B0 #B04571
split-complementary
#A7B045 #4571B0 #8345B0
monochromatic
#545823 #7D8434 #A7B045 #BEC66D #D2D799

Accessibility & contrast

On white

2.35
#A7B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#A7B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B045
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B045#FFFFFF#000000##000000
##A7B0451.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b045;
/* rgb */ color: rgb(167, 176, 69);
/* oklch */ color: oklch(72.9% 0.131 113.7);
Tailwind
colors: {
  custom: {
    50: '#c4c77d',
    500: '#a7b045',
    950: '#000000',
  },
}
SCSS
$custom: #a7b045;
$custom-light: #c4c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b045",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 65.047,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72883,
    "c": 0.13081,
    "h": 113.7
  },
  "luminance": 0.39696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7B045

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

Preview Lab → · Contrast checker → · Palette generator →

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