#A7B026#A7B026

#A7B026 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#A7B026
RGBrgb(167, 176, 38)
HSLhsl(64, 64%, 42%)
HSVhsv(64, 78%, 69%)
CMYKcmyk(5.1%, 0%, 78.4%, 31%)
CIE-LABlab(69.04, -19.42, 63.69)
CIE-LCHlch(69.04, 66.59, 106.95°)
OKLaboklab(72.65% -0.0603 0.1389)
OKLCHoklch(72.65% 0.151 113.5)
XYZxyz(31.8126, 39.4068, 7.7638)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B026 #2F26B0
analogous
#B07426 #A7B026 #62B026
triadic
#A7B026 #26A7B0 #B026A7
tetradic
#A7B026 #26B074 #2F26B0 #B02662
square
#A7B026 #26B074 #2F26B0 #B02662
split-complementary
#A7B026 #2662B0 #7426B0
monochromatic
#474B10 #777E1B #A7B026 #CBD53E #D9E070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B026#FFFFFF#000000##000000
##A7B0261.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)
#BDAA33
Tritanopia (blue-blind)
#B3A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7b026;
/* rgb */ color: rgb(167, 176, 38);
/* oklch */ color: oklch(72.7% 0.151 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c76d',
    500: '#a7b026',
    950: '#000000',
  },
}
SCSS
$custom: #a7b026;
$custom-light: #c5c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b026",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 38
  },
  "hsl": {
    "h": 63.913,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.7265,
    "c": 0.15145,
    "h": 113.5
  },
  "luminance": 0.39406
}

Semantic roles & 50–950 ramp

primary
#A7B026
secondary
#716BC7
accent
#40E74B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7B026

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

Preview Lab → · Contrast checker → · Palette generator →

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