#A8B333#A8B333

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

Color values

HEX#A8B333
RGBrgb(168, 179, 51)
HSLhsl(65, 56%, 45%)
HSVhsv(65, 72%, 70%)
CMYKcmyk(6.1%, 0%, 71.5%, 29.8%)
CIE-LABlab(70.04, -19.91, 60.34)
CIE-LCHlch(70.04, 63.54, 108.26°)
OKLaboklab(73.49% -0.0606 0.1341)
OKLCHoklch(73.49% 0.147 114.3)
XYZxyz(32.8670, 40.8047, 9.2760)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B333 #3E33B3
analogous
#B37E33 #A8B333 #68B333
triadic
#A8B333 #33A8B3 #B333A8
tetradic
#A8B333 #33B37E #3E33B3 #B33368
square
#A8B333 #33B37E #3E33B3 #B33368
split-complementary
#A8B333 #3368B3 #7E33B3
monochromatic
#4F5418 #7B8325 #A8B333 #C4CE55 #D5DC84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B333#FFFFFF#000000##000000
##A8B3331.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)
#C0AA1C
Deuteranopia (green-blind)
#C0AC3D
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b333;
/* rgb */ color: rgb(168, 179, 51);
/* oklch */ color: oklch(73.5% 0.147 114.3);
Tailwind
colors: {
  custom: {
    50: '#c5c973',
    500: '#a8b333',
    950: '#000000',
  },
}
SCSS
$custom: #a8b333;
$custom-light: #c5c973;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b333",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 65.156,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73488,
    "c": 0.14714,
    "h": 114.3
  },
  "luminance": 0.40804
}

Semantic roles & 50–950 ramp

primary
#A8B333
secondary
#837CC6
accent
#49DF56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B333

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

Preview Lab → · Contrast checker → · Palette generator →

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