#A7B02A#A7B02A

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

Color values

HEX#A7B02A
RGBrgb(167, 176, 42)
HSLhsl(64, 61%, 43%)
HSVhsv(64, 76%, 69%)
CMYKcmyk(5.1%, 0%, 76.1%, 31%)
CIE-LABlab(69.06, -19.25, 62.47)
CIE-LCHlch(69.06, 65.37, 107.13°)
OKLaboklab(72.67% -0.0595 0.137)
OKLCHoklch(72.67% 0.149 113.5)
XYZxyz(31.8806, 39.4340, 8.1222)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B02A #332AB0
analogous
#B0762A #A7B02A #64B02A
triadic
#A7B02A #2AA7B0 #B02AA7
tetradic
#A7B02A #2AB076 #332AB0 #B02A64
square
#A7B02A #2AB076 #332AB0 #B02A64
split-complementary
#A7B02A #2A64B0 #762AB0
monochromatic
#494D12 #787F1E #A7B02A #C9D345 #D7DE76

Accessibility & contrast

On white

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

On black

8.89
#A7B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B02A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B02A#FFFFFF#000000##000000
##A7B02A1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA706
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#B2A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7b02a;
/* rgb */ color: rgb(167, 176, 42);
/* oklch */ color: oklch(72.7% 0.149 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c76f',
    500: '#a7b02a',
    950: '#000000',
  },
}
SCSS
$custom: #a7b02a;
$custom-light: #c5c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b02a",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 64.03,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72672,
    "c": 0.14941,
    "h": 113.5
  },
  "luminance": 0.39433
}

Semantic roles & 50–950 ramp

primary
#A7B02A
secondary
#7670C6
accent
#43E54E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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