#A8B526#A8B526

#A8B526 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.156 H 115.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#A8B526
RGBrgb(168, 181, 38)
HSLhsl(65, 65%, 43%)
HSVhsv(65, 79%, 71%)
CMYKcmyk(7.2%, 0%, 79%, 29%)
CIE-LABlab(70.53, -21.49, 65.06)
CIE-LCHlch(70.53, 68.52, 108.28°)
OKLaboklab(73.86% -0.0661 0.1418)
OKLCHoklch(73.86% 0.156 115)
XYZxyz(33.0232, 41.5131, 8.1066)
Luminance0.4151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B526 #3326B5
analogous
#B57B26 #A8B526 #60B526
triadic
#A8B526 #26A8B5 #B526A8
tetradic
#A8B526 #26B57B #3326B5 #B52660
square
#A8B526 #26B57B #3326B5 #B52660
split-complementary
#A8B526 #2660B5 #7B26B5
monochromatic
#4A5011 #79821B #A8B526 #C9D741 #D8E274

Accessibility & contrast

On white

2.26
#A8B526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#A8B526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B526
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B526#FFFFFF#000000##000000
##A8B5261.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b526;
/* rgb */ color: rgb(168, 181, 38);
/* oklch */ color: oklch(73.9% 0.156 115.0);
Tailwind
colors: {
  custom: {
    50: '#c6cb6e',
    500: '#a8b526',
    950: '#000000',
  },
}
SCSS
$custom: #a8b526;
$custom-light: #c6cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b526",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 38
  },
  "hsl": {
    "h": 65.455,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73863,
    "c": 0.15644,
    "h": 115
  },
  "luminance": 0.41513
}

Semantic roles & 50–950 ramp

primary
#A8B526
secondary
#766EC9
accent
#40E84F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B526

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

Preview Lab → · Contrast checker → · Palette generator →

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