#A7B028#A7B028

#A7B028 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.150 H 113.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#A7B028
RGBrgb(167, 176, 40)
HSLhsl(64, 63%, 42%)
HSVhsv(64, 77%, 69%)
CMYKcmyk(5.1%, 0%, 77.3%, 31%)
CIE-LABlab(69.05, -19.34, 63.09)
CIE-LCHlch(69.05, 65.99, 107.04°)
OKLaboklab(72.66% -0.0599 0.138)
OKLCHoklch(72.66% 0.15 113.5)
XYZxyz(31.8457, 39.4200, 7.9383)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B028 #3128B0
analogous
#B07528 #A7B028 #63B028
triadic
#A7B028 #28A7B0 #B028A7
tetradic
#A7B028 #28B075 #3128B0 #B02863
square
#A7B028 #28B075 #3128B0 #B02863
split-complementary
#A7B028 #2863B0 #7528B0
monochromatic
#484C11 #787E1D #A7B028 #CAD441 #D8DF73

Accessibility & contrast

On white

2.36
#A7B028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#A7B028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B028
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B028#FFFFFF#000000##000000
##A7B0281.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#B3A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7b028;
/* rgb */ color: rgb(167, 176, 40);
/* oklch */ color: oklch(72.7% 0.150 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c76e',
    500: '#a7b028',
    950: '#000000',
  },
}
SCSS
$custom: #a7b028;
$custom-light: #c5c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b028",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 63.971,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72661,
    "c": 0.15046,
    "h": 113.5
  },
  "luminance": 0.39419
}

Semantic roles & 50–950 ramp

primary
#A7B028
secondary
#736DC6
accent
#42E64D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B028

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

Preview Lab → · Contrast checker → · Palette generator →

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