#A7B027#A7B027

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

Color values

HEX#A7B027
RGBrgb(167, 176, 39)
HSLhsl(64, 64%, 42%)
HSVhsv(64, 78%, 69%)
CMYKcmyk(5.1%, 0%, 77.8%, 31%)
CIE-LABlab(69.05, -19.38, 63.40)
CIE-LCHlch(69.05, 66.29, 107.00°)
OKLaboklab(72.66% -0.0601 0.1385)
OKLCHoklch(72.66% 0.151 113.5)
XYZxyz(31.8289, 39.4133, 7.8499)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B027 #3027B0
analogous
#B07527 #A7B027 #62B027
triadic
#A7B027 #27A7B0 #B027A7
tetradic
#A7B027 #27B075 #3027B0 #B02762
square
#A7B027 #27B075 #3027B0 #B02762
split-complementary
#A7B027 #2762B0 #7527B0
monochromatic
#484C11 #777E1C #A7B027 #CBD540 #D8E072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B027#FFFFFF#000000##000000
##A7B0271.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)
#A8A8A8

Design tokens & code

CSS
--color: #a7b027;
/* rgb */ color: rgb(167, 176, 39);
/* oklch */ color: oklch(72.7% 0.151 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c76d',
    500: '#a7b027',
    950: '#000000',
  },
}
SCSS
$custom: #a7b027;
$custom-light: #c5c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b027",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 63.942,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72655,
    "c": 0.15095,
    "h": 113.5
  },
  "luminance": 0.39413
}

Semantic roles & 50–950 ramp

primary
#A7B027
secondary
#726CC7
accent
#41E74C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7B027

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

Preview Lab → · Contrast checker → · Palette generator →

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