#A6BB1F#A6BB1F

#A6BB1F is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.0% C 0.167 H 117.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#A6BB1F
RGBrgb(166, 187, 31)
HSLhsl(68, 72%, 43%)
HSVhsv(68, 83%, 73%)
CMYKcmyk(11.2%, 0%, 83.4%, 26.7%)
CIE-LABlab(72.06, -25.52, 68.19)
CIE-LCHlch(72.06, 72.81, 110.52°)
OKLaboklab(75.04% -0.0775 0.1474)
OKLCHoklch(75.04% 0.167 117.8)
XYZxyz(33.7444, 43.7469, 7.9624)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB1F #341FBB
analogous
#BB821F #A6BB1F #58BB1F
triadic
#A6BB1F #1FA6BB #BB1FA6
tetradic
#A6BB1F #1FBB82 #341FBB #BB1F58
square
#A6BB1F #1FBB82 #341FBB #BB1F58
split-complementary
#A6BB1F #1F58BB #821FBB
monochromatic
#49520E #778716 #A6BB1F #C8DE39 #D7E76E

Accessibility & contrast

On white

2.15
#A6BB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#A6BB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BB1F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BB1F#FFFFFF#000000##000000
##A6BB1F1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B130
Tritanopia (blue-blind)
#B1B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bb1f;
/* rgb */ color: rgb(166, 187, 31);
/* oklch */ color: oklch(75.0% 0.167 117.8);
Tailwind
colors: {
  custom: {
    50: '#c4cf6c',
    500: '#a6bb1f',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb1f;
$custom-light: #c4cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb1f",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 31
  },
  "hsl": {
    "h": 68.077,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.75043,
    "c": 0.16655,
    "h": 117.8
  },
  "luminance": 0.43747
}

Semantic roles & 50–950 ramp

primary
#A6BB1F
secondary
#7669CD
accent
#3AEE52
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6BB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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