#A8BF30#A8BF30

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

Color values

HEX#A8BF30
RGBrgb(168, 191, 48)
HSLhsl(70, 60%, 47%)
HSVhsv(70, 75%, 75%)
CMYKcmyk(12%, 0%, 74.9%, 25.1%)
CIE-LABlab(73.42, -25.96, 64.61)
CIE-LCHlch(73.42, 69.63, 111.89°)
OKLaboklab(76.2% -0.0776 0.1426)
OKLCHoklch(76.2% 0.162 118.6)
XYZxyz(35.3135, 45.8001, 9.7757)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BF30 #4730BF
analogous
#BF8F30 #A8BF30 #61BF30
triadic
#A8BF30 #30A8BF #BF30A8
tetradic
#A8BF30 #30BF8F #4730BF #BF3061
square
#A8BF30 #30BF8F #4730BF #BF3061
split-complementary
#A8BF30 #3061BF #8F30BF
monochromatic
#525D17 #7D8E24 #A8BF30 #C1D557 #D3E188

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8BF30#FFFFFF#000000##000000
##A8BF301.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)
#CCB40E
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#B2B4A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8bf30;
/* rgb */ color: rgb(168, 191, 48);
/* oklch */ color: oklch(76.2% 0.162 118.6);
Tailwind
colors: {
  custom: {
    50: '#c5d273',
    500: '#a8bf30',
    950: '#000000',
  },
}
SCSS
$custom: #a8bf30;
$custom-light: #c5d273;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bf30",
  "rgb": {
    "r": 168,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 69.65,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76195,
    "c": 0.16234,
    "h": 118.6
  },
  "luminance": 0.458
}

Semantic roles & 50–950 ramp

primary
#A8BF30
secondary
#8C80CB
accent
#45E35E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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