#A6B20F#A6B20F

#A6B20F is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.162 H 114.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#A6B20F
RGBrgb(166, 178, 15)
HSLhsl(64, 84%, 38%)
HSVhsv(64, 92%, 70%)
CMYKcmyk(6.7%, 0%, 91.6%, 30.2%)
CIE-LABlab(69.46, -21.48, 69.18)
CIE-LCHlch(69.46, 72.44, 107.25°)
OKLaboklab(72.94% -0.0673 0.1472)
OKLCHoklch(72.94% 0.162 114.6)
XYZxyz(31.7336, 39.9829, 6.4976)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B20F #1B0FB2
analogous
#B26C0F #A6B20F #55B20F
triadic
#A6B20F #0FA6B2 #B20FA6
tetradic
#A6B20F #0FB26C #1B0FB2 #B20F55
square
#A6B20F #0FB26C #1B0FB2 #B20F55
split-complementary
#A6B20F #0F55B2 #6C0FB2
monochromatic
#3D4105 #717A0A #A6B20F #DBEA14 #E4F04C

Accessibility & contrast

On white

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

On black

9.00
#A6B20F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B20F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B20F#FFFFFF#000000##000000
##A6B20F1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b20f;
/* rgb */ color: rgb(166, 178, 15);
/* oklch */ color: oklch(72.9% 0.162 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5c866',
    500: '#a6b20f',
    950: '#000000',
  },
}
SCSS
$custom: #a6b20f;
$custom-light: #c5c866;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b20f",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 15
  },
  "hsl": {
    "h": 64.417,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.72938,
    "c": 0.16188,
    "h": 114.6
  },
  "luminance": 0.39982
}

Semantic roles & 50–950 ramp

primary
#A6B20F
secondary
#564CD1
accent
#2DFB3C
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B20F

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

Preview Lab → · Contrast checker → · Palette generator →

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