#A8B20F#A8B20F

#A8B20F is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.161 H 113.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A8B20F
RGBrgb(168, 178, 15)
HSLhsl(64, 84%, 38%)
HSVhsv(64, 92%, 70%)
CMYKcmyk(5.6%, 0%, 91.6%, 30.2%)
CIE-LABlab(69.61, -20.62, 69.37)
CIE-LCHlch(69.61, 72.37, 106.55°)
OKLaboklab(73.1% -0.065 0.1475)
OKLCHoklch(73.1% 0.161 113.8)
XYZxyz(32.1562, 40.2008, 6.5175)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B20F #190FB2
analogous
#B26A0F #A8B20F #56B20F
triadic
#A8B20F #0FA8B2 #B20FA8
tetradic
#A8B20F #0FB26A #190FB2 #B20F56
square
#A8B20F #0FB26A #190FB2 #B20F56
split-complementary
#A8B20F #0F56B2 #6A0FB2
monochromatic
#3D4105 #737A0A #A8B20F #DDEA14 #E6F04C

Accessibility & contrast

On white

2.32
#A8B20F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A8B20F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B20F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B20F#FFFFFF#000000##000000
##A8B20F1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b20f;
/* rgb */ color: rgb(168, 178, 15);
/* oklch */ color: oklch(73.1% 0.161 113.8);
Tailwind
colors: {
  custom: {
    50: '#c6c866',
    500: '#a8b20f',
    950: '#000000',
  },
}
SCSS
$custom: #a8b20f;
$custom-light: #c6c866;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b20f",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 15
  },
  "hsl": {
    "h": 63.681,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.731,
    "c": 0.16124,
    "h": 113.8
  },
  "luminance": 0.402
}

Semantic roles & 50–950 ramp

primary
#A8B20F
secondary
#544CD1
accent
#2DFB3A
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#141307
muted
#82827A

Preview Lab

Preview with #A8B20F

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

Preview Lab → · Contrast checker → · Palette generator →

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