#A8B336#A8B336

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

Color values

HEX#A8B336
RGBrgb(168, 179, 54)
HSLhsl(65, 54%, 46%)
HSVhsv(65, 70%, 70%)
CMYKcmyk(6.1%, 0%, 69.8%, 29.8%)
CIE-LABlab(70.06, -19.75, 59.25)
CIE-LCHlch(70.06, 62.45, 108.43°)
OKLaboklab(73.51% -0.0599 0.1323)
OKLCHoklch(73.51% 0.145 114.4)
XYZxyz(32.9353, 40.8320, 9.6357)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B336 #4136B3
analogous
#B37F36 #A8B336 #69B336
triadic
#A8B336 #36A8B3 #B336A8
tetradic
#A8B336 #36B37F #4136B3 #B33669
square
#A8B336 #36B37F #4136B3 #B33669
split-complementary
#A8B336 #3669B3 #7F36B3
monochromatic
#50551A #7C8428 #A8B336 #C3CD59 #D4DB88

Accessibility & contrast

On white

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

On black

9.17
#A8B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B336
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B336#FFFFFF#000000##000000
##A8B3361.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA21
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#B3A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b336;
/* rgb */ color: rgb(168, 179, 54);
/* oklch */ color: oklch(73.5% 0.145 114.4);
Tailwind
colors: {
  custom: {
    50: '#c5c975',
    500: '#a8b336',
    950: '#000000',
  },
}
SCSS
$custom: #a8b336;
$custom-light: #c5c975;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b336",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 65.28,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7351,
    "c": 0.14521,
    "h": 114.4
  },
  "luminance": 0.40831
}

Semantic roles & 50–950 ramp

primary
#A8B336
secondary
#8680C5
accent
#4BDD58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B336

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

Preview Lab → · Contrast checker → · Palette generator →

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