#A8B337#A8B337

#A8B337 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#A8B337
RGBrgb(168, 179, 55)
HSLhsl(65, 53%, 46%)
HSVhsv(65, 69%, 70%)
CMYKcmyk(6.1%, 0%, 69.3%, 29.8%)
CIE-LABlab(70.06, -19.69, 58.88)
CIE-LCHlch(70.06, 62.08, 108.49°)
OKLaboklab(73.52% -0.0596 0.1317)
OKLCHoklch(73.52% 0.145 114.4)
XYZxyz(32.9590, 40.8415, 9.7606)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B337 #4237B3
analogous
#B38037 #A8B337 #6AB337
triadic
#A8B337 #37A8B3 #B337A8
tetradic
#A8B337 #37B380 #4237B3 #B3376A
square
#A8B337 #37B380 #4237B3 #B3376A
split-complementary
#A8B337 #376AB3 #8037B3
monochromatic
#50551A #7C8429 #A8B337 #C2CD5B #D4DB8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B337#FFFFFF#000000##000000
##A8B3371.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)
#C0AA23
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#B3A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b337;
/* rgb */ color: rgb(168, 179, 55);
/* oklch */ color: oklch(73.5% 0.145 114.4);
Tailwind
colors: {
  custom: {
    50: '#c5c976',
    500: '#a8b337',
    950: '#000000',
  },
}
SCSS
$custom: #a8b337;
$custom-light: #c5c976;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b337",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 65.323,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73517,
    "c": 0.14454,
    "h": 114.4
  },
  "luminance": 0.40841
}

Semantic roles & 50–950 ramp

primary
#A8B337
secondary
#8781C5
accent
#4BDC58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B337

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

Preview Lab → · Contrast checker → · Palette generator →

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