#A8BA30#A8BA30

#A8BA30 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.157 H 116.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#A8BA30
RGBrgb(168, 186, 48)
HSLhsl(68, 59%, 46%)
HSVhsv(68, 74%, 73%)
CMYKcmyk(9.7%, 0%, 74.2%, 27.1%)
CIE-LABlab(72.00, -23.53, 63.27)
CIE-LCHlch(72.00, 67.50, 110.40°)
OKLaboklab(75.06% -0.0709 0.1397)
OKLCHoklch(75.06% 0.157 116.9)
XYZxyz(34.2417, 43.6565, 9.4184)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA30 #4230BA
analogous
#BA8730 #A8BA30 #63BA30
triadic
#A8BA30 #30A8BA #BA30A8
tetradic
#A8BA30 #30BA87 #4230BA #BA3063
square
#A8BA30 #30BA87 #4230BA #BA3063
split-complementary
#A8BA30 #3063BA #8730BA
monochromatic
#505917 #7C8923 #A8BA30 #C2D354 #D4DF85

Accessibility & contrast

On white

2.16
#A8BA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#A8BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA30
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA30#FFFFFF#000000##000000
##A8BA301.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#B3AFA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8ba30;
/* rgb */ color: rgb(168, 186, 48);
/* oklch */ color: oklch(75.1% 0.157 116.9);
Tailwind
colors: {
  custom: {
    50: '#c5ce73',
    500: '#a8ba30',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba30;
$custom-light: #c5ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba30",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 67.826,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75055,
    "c": 0.15671,
    "h": 116.9
  },
  "luminance": 0.43656
}

Semantic roles & 50–950 ramp

primary
#A8BA30
secondary
#877DC9
accent
#46E25A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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