#A8B537#A8B537

#A8B537 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.0% C 0.147 H 115.2°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#A8B537
RGBrgb(168, 181, 55)
HSLhsl(66, 53%, 46%)
HSVhsv(66, 70%, 71%)
CMYKcmyk(7.2%, 0%, 69.6%, 29%)
CIE-LABlab(70.63, -20.69, 59.44)
CIE-LCHlch(70.63, 62.94, 109.19°)
OKLaboklab(73.97% -0.0624 0.1329)
OKLCHoklch(73.97% 0.147 115.2)
XYZxyz(33.3628, 41.6490, 9.8952)
Luminance0.4165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B537 #4437B5
analogous
#B58337 #A8B537 #69B537
triadic
#A8B537 #37A8B5 #B537A8
tetradic
#A8B537 #37B583 #4437B5 #B53769
square
#A8B537 #37B583 #4437B5 #B53769
split-complementary
#A8B537 #3769B5 #8337B5
monochromatic
#51571A #7C8629 #A8B537 #C2CD5C #D3DC8B

Accessibility & contrast

On white

2.25
#A8B537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#A8B537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B537
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B537#FFFFFF#000000##000000
##A8B5371.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#B3AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b537;
/* rgb */ color: rgb(168, 181, 55);
/* oklch */ color: oklch(74.0% 0.147 115.2);
Tailwind
colors: {
  custom: {
    50: '#c5cb76',
    500: '#a8b537',
    950: '#000000',
  },
}
SCSS
$custom: #a8b537;
$custom-light: #c5cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b537",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 66.19,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73969,
    "c": 0.14678,
    "h": 115.2
  },
  "luminance": 0.41648
}

Semantic roles & 50–950 ramp

primary
#A8B537
secondary
#8982C6
accent
#4BDD5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B537

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

Preview Lab → · Contrast checker → · Palette generator →

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