#A7B02F#A7B02F

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

Color values

HEX#A7B02F
RGBrgb(167, 176, 47)
HSLhsl(64, 58%, 44%)
HSVhsv(64, 73%, 69%)
CMYKcmyk(5.1%, 0%, 73.3%, 31%)
CIE-LABlab(69.09, -19.03, 60.82)
CIE-LCHlch(69.09, 63.73, 107.37°)
OKLaboklab(72.7% -0.0585 0.1344)
OKLCHoklch(72.7% 0.147 113.5)
XYZxyz(31.9757, 39.4721, 8.6232)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B02F #382FB0
analogous
#B0782F #A7B02F #66B02F
triadic
#A7B02F #2FA7B0 #B02FA7
tetradic
#A7B02F #2FB078 #382FB0 #B02F66
square
#A7B02F #2FB078 #382FB0 #B02F66
split-complementary
#A7B02F #2F66B0 #782FB0
monochromatic
#4B4F15 #798022 #A7B02F #C6CF4D #D6DC7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B02F#FFFFFF#000000##000000
##A7B02F1.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)
#BDA715
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#B2A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7b02f;
/* rgb */ color: rgb(167, 176, 47);
/* oklch */ color: oklch(72.7% 0.147 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c771',
    500: '#a7b02f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b02f;
$custom-light: #c5c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b02f",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 64.186,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72702,
    "c": 0.1466,
    "h": 113.5
  },
  "luminance": 0.39471
}

Semantic roles & 50–950 ramp

primary
#A7B02F
secondary
#7B76C5
accent
#47E151
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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