#A6BF26#A6BF26

#A6BF26 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.0% C 0.168 H 119.1°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#A6BF26
RGBrgb(166, 191, 38)
HSLhsl(70, 67%, 45%)
HSVhsv(70, 80%, 75%)
CMYKcmyk(13.1%, 0%, 80.1%, 25.1%)
CIE-LABlab(73.23, -27.21, 67.40)
CIE-LCHlch(73.23, 72.69, 111.99°)
OKLaboklab(75.99% -0.0817 0.1469)
OKLCHoklch(75.99% 0.168 119.1)
XYZxyz(34.7073, 45.5088, 8.7890)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BF26 #3F26BF
analogous
#BF8C26 #A6BF26 #59BF26
triadic
#A6BF26 #26A6BF #BF26A6
tetradic
#A6BF26 #26BF8C #3F26BF #BF2659
square
#A6BF26 #26BF8C #3F26BF #BF2659
split-complementary
#A6BF26 #2659BF #8C26BF
monochromatic
#4D5912 #7A8C1C #A6BF26 #C3DB48 #D3E57B

Accessibility & contrast

On white

2.08
#A6BF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#A6BF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BF26
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BF26#FFFFFF#000000##000000
##A6BF261.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C9B436
Tritanopia (blue-blind)
#B0B4A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a6bf26;
/* rgb */ color: rgb(166, 191, 38);
/* oklch */ color: oklch(76.0% 0.168 119.1);
Tailwind
colors: {
  custom: {
    50: '#c4d26f',
    500: '#a6bf26',
    950: '#000000',
  },
}
SCSS
$custom: #a6bf26;
$custom-light: #c4d26f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bf26",
  "rgb": {
    "r": 166,
    "g": 191,
    "b": 38
  },
  "hsl": {
    "h": 69.804,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75991,
    "c": 0.16807,
    "h": 119.1
  },
  "luminance": 0.45509
}

Semantic roles & 50–950 ramp

primary
#A6BF26
secondary
#8374CD
accent
#3EEA5A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6BF26

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

Preview Lab → · Contrast checker → · Palette generator →

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