#A8B334#A8B334

#A8B334 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#A8B334
RGBrgb(168, 179, 52)
HSLhsl(65, 55%, 45%)
HSVhsv(65, 71%, 70%)
CMYKcmyk(6.1%, 0%, 70.9%, 29.8%)
CIE-LABlab(70.05, -19.86, 59.98)
CIE-LCHlch(70.05, 63.18, 108.32°)
OKLaboklab(73.5% -0.0604 0.1335)
OKLCHoklch(73.5% 0.147 114.3)
XYZxyz(32.8893, 40.8136, 9.3934)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B334 #3F34B3
analogous
#B37E34 #A8B334 #68B334
triadic
#A8B334 #34A8B3 #B334A8
tetradic
#A8B334 #34B37E #3F34B3 #B33468
square
#A8B334 #34B37E #3F34B3 #B33468
split-complementary
#A8B334 #3468B3 #7E34B3
monochromatic
#4F5418 #7B8426 #A8B334 #C4CE56 #D4DC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B334#FFFFFF#000000##000000
##A8B3341.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)
#C0AA1E
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b334;
/* rgb */ color: rgb(168, 179, 52);
/* oklch */ color: oklch(73.5% 0.147 114.3);
Tailwind
colors: {
  custom: {
    50: '#c5c974',
    500: '#a8b334',
    950: '#000000',
  },
}
SCSS
$custom: #a8b334;
$custom-light: #c5c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b334",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 65.197,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73495,
    "c": 0.14651,
    "h": 114.3
  },
  "luminance": 0.40813
}

Semantic roles & 50–950 ramp

primary
#A8B334
secondary
#847DC5
accent
#49DE56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B334

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

Preview Lab → · Contrast checker → · Palette generator →

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