#A6B02F#A6B02F

#A6B02F is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.147 H 113.9°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#A6B02F
RGBrgb(166, 176, 47)
HSLhsl(65, 58%, 44%)
HSVhsv(65, 73%, 69%)
CMYKcmyk(5.7%, 0%, 73.3%, 31%)
CIE-LABlab(69.01, -19.46, 60.72)
CIE-LCHlch(69.01, 63.76, 107.77°)
OKLaboklab(72.62% -0.0596 0.1343)
OKLCHoklch(72.62% 0.147 113.9)
XYZxyz(31.7652, 39.3635, 8.6134)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B02F #392FB0
analogous
#B0792F #A6B02F #65B02F
triadic
#A6B02F #2FA6B0 #B02FA6
tetradic
#A6B02F #2FB079 #392FB0 #B02F65
square
#A6B02F #2FB079 #392FB0 #B02F65
split-complementary
#A6B02F #2F65B0 #792FB0
monochromatic
#4B4F15 #788022 #A6B02F #C5CF4D #D5DC7D

Accessibility & contrast

On white

2.37
#A6B02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#A6B02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B02F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B02F#FFFFFF#000000##000000
##A6B02F1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#B1A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6b02f;
/* rgb */ color: rgb(166, 176, 47);
/* oklch */ color: oklch(72.6% 0.147 113.9);
Tailwind
colors: {
  custom: {
    50: '#c4c771',
    500: '#a6b02f',
    950: '#000000',
  },
}
SCSS
$custom: #a6b02f;
$custom-light: #c4c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b02f",
  "rgb": {
    "r": 166,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 64.651,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72621,
    "c": 0.14689,
    "h": 113.9
  },
  "luminance": 0.39363
}

Semantic roles & 50–950 ramp

primary
#A6B02F
secondary
#7C76C5
accent
#47E153
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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