#A8BF2D#A8BF2D

#A8BF2D 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.16:1 contrast (WCAG AA passes).

Color values

HEX#A8BF2D
RGBrgb(168, 191, 45)
HSLhsl(69, 62%, 46%)
HSVhsv(69, 76%, 75%)
CMYKcmyk(12%, 0%, 76.4%, 25.1%)
CIE-LABlab(73.40, -26.10, 65.56)
CIE-LCHlch(73.40, 70.56, 111.71°)
OKLaboklab(76.18% -0.0783 0.1441)
OKLCHoklch(76.18% 0.164 118.5)
XYZxyz(35.2537, 45.7762, 9.4606)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BF2D #442DBF
analogous
#BF8D2D #A8BF2D #5FBF2D
triadic
#A8BF2D #2DA8BF #BF2DA8
tetradic
#A8BF2D #2DBF8D #442DBF #BF2D5F
square
#A8BF2D #2DBF8D #442DBF #BF2D5F
split-complementary
#A8BF2D #2D5FBF #8D2DBF
monochromatic
#515C16 #7C8D21 #A8BF2D #C2D653 #D3E284

Accessibility & contrast

On white

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

On black

10.16
#A8BF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BF2D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BF2D#FFFFFF#000000##000000
##A8BF2D1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB403
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#B2B4A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8bf2d;
/* rgb */ color: rgb(168, 191, 45);
/* oklch */ color: oklch(76.2% 0.164 118.5);
Tailwind
colors: {
  custom: {
    50: '#c6d272',
    500: '#a8bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #a8bf2d;
$custom-light: #c6d272;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bf2d",
  "rgb": {
    "r": 168,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 69.452,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76178,
    "c": 0.16394,
    "h": 118.5
  },
  "luminance": 0.45776
}

Semantic roles & 50–950 ramp

primary
#A8BF2D
secondary
#897CCB
accent
#43E55C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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