#A8B32F#A8B32F

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

Color values

HEX#A8B32F
RGBrgb(168, 179, 47)
HSLhsl(65, 58%, 44%)
HSVhsv(65, 74%, 70%)
CMYKcmyk(6.1%, 0%, 73.7%, 29.8%)
CIE-LABlab(70.02, -20.11, 61.73)
CIE-LCHlch(70.02, 64.92, 108.04°)
OKLaboklab(73.46% -0.0615 0.1363)
OKLCHoklch(73.46% 0.15 114.3)
XYZxyz(32.7826, 40.7709, 8.8314)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B32F #3A2FB3
analogous
#B37C2F #A8B32F #66B32F
triadic
#A8B32F #2FA8B3 #B32FA8
tetradic
#A8B32F #2FB37C #3A2FB3 #B32F66
square
#A8B32F #2FB37C #3A2FB3 #B32F66
split-complementary
#A8B32F #2F66B3 #7C2FB3
monochromatic
#4D5216 #7B8322 #A8B32F #C6D14F #D6DD7F

Accessibility & contrast

On white

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

On black

9.15
#A8B32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B32F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B32F#FFFFFF#000000##000000
##A8B32F1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b32f;
/* rgb */ color: rgb(168, 179, 47);
/* oklch */ color: oklch(73.5% 0.150 114.3);
Tailwind
colors: {
  custom: {
    50: '#c5c971',
    500: '#a8b32f',
    950: '#000000',
  },
}
SCSS
$custom: #a8b32f;
$custom-light: #c5c971;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b32f",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 65,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73462,
    "c": 0.14955,
    "h": 114.3
  },
  "luminance": 0.4077
}

Semantic roles & 50–950 ramp

primary
#A8B32F
secondary
#7E78C6
accent
#46E253
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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