#A7B025#A7B025

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

Color values

HEX#A7B025
RGBrgb(167, 176, 37)
HSLhsl(64, 65%, 42%)
HSVhsv(64, 79%, 69%)
CMYKcmyk(5.1%, 0%, 79%, 31%)
CIE-LABlab(69.04, -19.46, 63.99)
CIE-LCHlch(69.04, 66.88, 106.91°)
OKLaboklab(72.65% -0.0605 0.1394)
OKLCHoklch(72.65% 0.152 113.5)
XYZxyz(31.7966, 39.4004, 7.6800)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B025 #2E25B0
analogous
#B07425 #A7B025 #62B025
triadic
#A7B025 #25A7B0 #B025A7
tetradic
#A7B025 #25B074 #2E25B0 #B02562
square
#A7B025 #25B074 #2E25B0 #B02562
split-complementary
#A7B025 #2562B0 #7425B0
monochromatic
#474B10 #777D1A #A7B025 #CCD63C #D9E16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B025#FFFFFF#000000##000000
##A7B0251.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)
#BEA700
Deuteranopia (green-blind)
#BDAA32
Tritanopia (blue-blind)
#B3A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7b025;
/* rgb */ color: rgb(167, 176, 37);
/* oklch */ color: oklch(72.6% 0.152 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c76d',
    500: '#a7b025',
    950: '#000000',
  },
}
SCSS
$custom: #a7b025;
$custom-light: #c5c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b025",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 37
  },
  "hsl": {
    "h": 63.885,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72645,
    "c": 0.15193,
    "h": 113.5
  },
  "luminance": 0.394
}

Semantic roles & 50–950 ramp

primary
#A7B025
secondary
#706AC7
accent
#40E84A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7B025

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

Preview Lab → · Contrast checker → · Palette generator →

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