#A8BF26#A8BF26

#A8BF26 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.1% C 0.167 H 118.4°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#A8BF26
RGBrgb(168, 191, 38)
HSLhsl(69, 67%, 45%)
HSVhsv(69, 80%, 75%)
CMYKcmyk(12%, 0%, 80.1%, 25.1%)
CIE-LABlab(73.37, -26.38, 67.58)
CIE-LCHlch(73.37, 72.55, 111.32°)
OKLaboklab(76.14% -0.0795 0.1472)
OKLCHoklch(76.14% 0.167 118.4)
XYZxyz(35.1299, 45.7267, 8.8088)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BF26 #3D26BF
analogous
#BF8A26 #A8BF26 #5BBF26
triadic
#A8BF26 #26A8BF #BF26A8
tetradic
#A8BF26 #26BF8A #3D26BF #BF265B
square
#A8BF26 #26BF8A #3D26BF #BF265B
split-complementary
#A8BF26 #265BBF #8A26BF
monochromatic
#4E5912 #7B8C1C #A8BF26 #C4DB48 #D5E57B

Accessibility & contrast

On white

2.07
#A8BF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#A8BF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BF26
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BF26#FFFFFF#000000##000000
##A8BF261.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8bf26;
/* rgb */ color: rgb(168, 191, 38);
/* oklch */ color: oklch(76.1% 0.167 118.4);
Tailwind
colors: {
  custom: {
    50: '#c6d26f',
    500: '#a8bf26',
    950: '#000000',
  },
}
SCSS
$custom: #a8bf26;
$custom-light: #c6d26f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bf26",
  "rgb": {
    "r": 168,
    "g": 191,
    "b": 38
  },
  "hsl": {
    "h": 69.02,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76142,
    "c": 0.1673,
    "h": 118.4
  },
  "luminance": 0.45726
}

Semantic roles & 50–950 ramp

primary
#A8BF26
secondary
#8174CD
accent
#3EEA58
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8BF26

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

Preview Lab → · Contrast checker → · Palette generator →

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