#A8BF45#A8BF45

#A8BF45 is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.4% C 0.148 H 119.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#A8BF45
RGBrgb(168, 191, 69)
HSLhsl(71, 49%, 51%)
HSVhsv(71, 64%, 75%)
CMYKcmyk(12%, 0%, 63.9%, 25.1%)
CIE-LABlab(73.56, -24.74, 56.89)
CIE-LCHlch(73.56, 62.04, 113.51°)
OKLaboklab(76.35% -0.0723 0.1296)
OKLCHoklch(76.35% 0.148 119.2)
XYZxyz(35.8540, 46.0163, 12.6223)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BF45 #5C45BF
analogous
#BF9945 #A8BF45 #6BBF45
triadic
#A8BF45 #45A8BF #BF45A8
tetradic
#A8BF45 #45BF99 #5C45BF #BF456B
square
#A8BF45 #45BF99 #5C45BF #BF456B
split-complementary
#A8BF45 #456BBF #9945BF
monochromatic
#5A6623 #829433 #A8BF45 #BDCF73 #D3DEA0

Accessibility & contrast

On white

2.06
#A8BF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#A8BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BF45
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BF45#FFFFFF#000000##000000
##A8BF451.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB535
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#B1B5A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a8bf45;
/* rgb */ color: rgb(168, 191, 69);
/* oklch */ color: oklch(76.4% 0.148 119.2);
Tailwind
colors: {
  custom: {
    50: '#c5d27e',
    500: '#a8bf45',
    950: '#000000',
  },
}
SCSS
$custom: #a8bf45;
$custom-light: #c5d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bf45",
  "rgb": {
    "r": 168,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 71.311,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76353,
    "c": 0.14843,
    "h": 119.2
  },
  "luminance": 0.46016
}

Semantic roles & 50–950 ramp

primary
#A8BF45
secondary
#9F95CB
accent
#4FD869
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13140A
muted
#82827C

Preview Lab

Preview with #A8BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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