#A8B330#A8B330

#A8B330 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.149 H 114.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A8B330
RGBrgb(168, 179, 48)
HSLhsl(65, 58%, 45%)
HSVhsv(65, 73%, 70%)
CMYKcmyk(6.1%, 0%, 73.2%, 29.8%)
CIE-LABlab(70.02, -20.06, 61.39)
CIE-LCHlch(70.02, 64.58, 108.09°)
OKLaboklab(73.47% -0.0613 0.1358)
OKLCHoklch(73.47% 0.149 114.3)
XYZxyz(32.8030, 40.7791, 8.9389)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B330 #3B30B3
analogous
#B37D30 #A8B330 #67B330
triadic
#A8B330 #30A8B3 #B330A8
tetradic
#A8B330 #30B37D #3B30B3 #B33067
square
#A8B330 #30B37D #3B30B3 #B33067
split-complementary
#A8B330 #3067B3 #7D30B3
monochromatic
#4D5216 #7B8323 #A8B330 #C5D050 #D5DD80

Accessibility & contrast

On white

2.29
#A8B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A8B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B330
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B330#FFFFFF#000000##000000
##A8B3301.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b330;
/* rgb */ color: rgb(168, 179, 48);
/* oklch */ color: oklch(73.5% 0.149 114.3);
Tailwind
colors: {
  custom: {
    50: '#c5c972',
    500: '#a8b330',
    950: '#000000',
  },
}
SCSS
$custom: #a8b330;
$custom-light: #c5c972;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b330",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 65.038,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73468,
    "c": 0.14897,
    "h": 114.3
  },
  "luminance": 0.40778
}

Semantic roles & 50–950 ramp

primary
#A8B330
secondary
#7F79C6
accent
#47E154
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B330

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

Preview Lab → · Contrast checker → · Palette generator →

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