#A8BF2C#A8BF2C

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

Color values

HEX#A8BF2C
RGBrgb(168, 191, 44)
HSLhsl(69, 63%, 46%)
HSVhsv(69, 77%, 75%)
CMYKcmyk(12%, 0%, 77%, 25.1%)
CIE-LABlab(73.40, -26.14, 65.86)
CIE-LCHlch(73.40, 70.86, 111.65°)
OKLaboklab(76.17% -0.0785 0.1445)
OKLCHoklch(76.17% 0.164 118.5)
XYZxyz(35.2347, 45.7686, 9.3604)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BF2C #432CBF
analogous
#BF8C2C #A8BF2C #5EBF2C
triadic
#A8BF2C #2CA8BF #BF2CA8
tetradic
#A8BF2C #2CBF8C #432CBF #BF2C5E
square
#A8BF2C #2CBF8C #432CBF #BF2C5E
split-complementary
#A8BF2C #2C5EBF #8C2CBF
monochromatic
#505C15 #7C8D21 #A8BF2C #C2D751 #D3E283

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a8bf2c;
/* rgb */ color: rgb(168, 191, 44);
/* oklch */ color: oklch(76.2% 0.164 118.5);
Tailwind
colors: {
  custom: {
    50: '#c6d271',
    500: '#a8bf2c',
    950: '#000000',
  },
}
SCSS
$custom: #a8bf2c;
$custom-light: #c6d271;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bf2c",
  "rgb": {
    "r": 168,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 69.388,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76172,
    "c": 0.16445,
    "h": 118.5
  },
  "luminance": 0.45768
}

Semantic roles & 50–950 ramp

primary
#A8BF2C
secondary
#887BCC
accent
#42E65C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8BF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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