#A8BF34#A8BF34

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

Color values

HEX#A8BF34
RGBrgb(168, 191, 52)
HSLhsl(70, 57%, 48%)
HSVhsv(70, 73%, 75%)
CMYKcmyk(12%, 0%, 72.8%, 25.1%)
CIE-LABlab(73.44, -25.77, 63.28)
CIE-LCHlch(73.44, 68.33, 112.16°)
OKLaboklab(76.22% -0.0768 0.1404)
OKLCHoklch(76.22% 0.16 118.7)
XYZxyz(35.3998, 45.8346, 10.2302)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BF34 #4B34BF
analogous
#BF9034 #A8BF34 #62BF34
triadic
#A8BF34 #34A8BF #BF34A8
tetradic
#A8BF34 #34BF90 #4B34BF #BF3462
square
#A8BF34 #34BF90 #4B34BF #BF3462
split-complementary
#A8BF34 #3462BF #9034BF
monochromatic
#535F1A #7E8F27 #A8BF34 #BFD35D #D2E08D

Accessibility & contrast

On white

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

On black

10.17
#A8BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BF34
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BF34#FFFFFF#000000##000000
##A8BF341.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB419
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#B2B5A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8bf34;
/* rgb */ color: rgb(168, 191, 52);
/* oklch */ color: oklch(76.2% 0.160 118.7);
Tailwind
colors: {
  custom: {
    50: '#c5d275',
    500: '#a8bf34',
    950: '#000000',
  },
}
SCSS
$custom: #a8bf34;
$custom-light: #c5d275;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bf34",
  "rgb": {
    "r": 168,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 69.928,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76221,
    "c": 0.16005,
    "h": 118.7
  },
  "luminance": 0.45834
}

Semantic roles & 50–950 ramp

primary
#A8BF34
secondary
#9084CA
accent
#47E061
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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