#A8BF2B#A8BF2B

#A8BF2B is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.2% C 0.165 H 118.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#A8BF2B
RGBrgb(168, 191, 43)
HSLhsl(69, 63%, 46%)
HSVhsv(69, 77%, 75%)
CMYKcmyk(12%, 0%, 77.5%, 25.1%)
CIE-LABlab(73.39, -26.18, 66.16)
CIE-LCHlch(73.39, 71.15, 111.59°)
OKLaboklab(76.17% -0.0786 0.145)
OKLCHoklch(76.17% 0.165 118.5)
XYZxyz(35.2161, 45.7612, 9.2626)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BF2B #422BBF
analogous
#BF8C2B #A8BF2B #5EBF2B
triadic
#A8BF2B #2BA8BF #BF2BA8
tetradic
#A8BF2B #2BBF8C #422BBF #BF2B5E
square
#A8BF2B #2BBF8C #422BBF #BF2B5E
split-complementary
#A8BF2B #2B5EBF #8C2BBF
monochromatic
#505B15 #7C8D20 #A8BF2B #C2D850 #D4E382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8BF2B#FFFFFF#000000##000000
##A8BF2B1.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)
#C9B539
Tritanopia (blue-blind)
#B2B4A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8bf2b;
/* rgb */ color: rgb(168, 191, 43);
/* oklch */ color: oklch(76.2% 0.165 118.5);
Tailwind
colors: {
  custom: {
    50: '#c6d271',
    500: '#a8bf2b',
    950: '#000000',
  },
}
SCSS
$custom: #a8bf2b;
$custom-light: #c6d271;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bf2b",
  "rgb": {
    "r": 168,
    "g": 191,
    "b": 43
  },
  "hsl": {
    "h": 69.324,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.16496,
    "h": 118.5
  },
  "luminance": 0.45761
}

Semantic roles & 50–950 ramp

primary
#A8BF2B
secondary
#877ACC
accent
#42E65B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8BF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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