#A7B20F#A7B20F

#A7B20F is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.162 H 114.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#A7B20F
RGBrgb(167, 178, 15)
HSLhsl(64, 84%, 38%)
HSVhsv(64, 92%, 70%)
CMYKcmyk(6.2%, 0%, 91.6%, 30.2%)
CIE-LABlab(69.53, -21.05, 69.28)
CIE-LCHlch(69.53, 72.41, 106.90°)
OKLaboklab(73.02% -0.0662 0.1474)
OKLCHoklch(73.02% 0.162 114.2)
XYZxyz(31.9441, 40.0914, 6.5075)
Luminance0.4009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B20F #1A0FB2
analogous
#B26B0F #A7B20F #55B20F
triadic
#A7B20F #0FA7B2 #B20FA7
tetradic
#A7B20F #0FB26B #1A0FB2 #B20F55
square
#A7B20F #0FB26B #1A0FB2 #B20F55
split-complementary
#A7B20F #0F55B2 #6B0FB2
monochromatic
#3D4105 #727A0A #A7B20F #DCEA14 #E5F04C

Accessibility & contrast

On white

2.33
#A7B20F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#A7B20F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B20F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B20F#FFFFFF#000000##000000
##A7B20F1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB26
Tritanopia (blue-blind)
#B3A797
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b20f;
/* rgb */ color: rgb(167, 178, 15);
/* oklch */ color: oklch(73.0% 0.162 114.2);
Tailwind
colors: {
  custom: {
    50: '#c5c866',
    500: '#a7b20f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b20f;
$custom-light: #c5c866;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b20f",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 15
  },
  "hsl": {
    "h": 64.049,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.73019,
    "c": 0.16156,
    "h": 114.2
  },
  "luminance": 0.40091
}

Semantic roles & 50–950 ramp

primary
#A7B20F
secondary
#554CD1
accent
#2DFB3B
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#141307
muted
#82827A

Preview Lab

Preview with #A7B20F

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

Preview Lab → · Contrast checker → · Palette generator →

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