#A8B326#A8B326

#A8B326 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.154 H 114.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A8B326
RGBrgb(168, 179, 38)
HSLhsl(65, 65%, 43%)
HSVhsv(65, 79%, 70%)
CMYKcmyk(6.1%, 0%, 78.8%, 29.8%)
CIE-LABlab(69.97, -20.49, 64.55)
CIE-LCHlch(69.97, 67.73, 107.61°)
OKLaboklab(73.41% -0.0633 0.1407)
OKLCHoklch(73.41% 0.154 114.2)
XYZxyz(32.6194, 40.7056, 7.9720)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B326 #3126B3
analogous
#B37826 #A8B326 #61B326
triadic
#A8B326 #26A8B3 #B326A8
tetradic
#A8B326 #26B378 #3126B3 #B32661
square
#A8B326 #26B378 #3126B3 #B32661
split-complementary
#A8B326 #2661B3 #7826B3
monochromatic
#494E11 #79811B #A8B326 #CBD640 #D8E172

Accessibility & contrast

On white

2.30
#A8B326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A8B326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B326
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B326#FFFFFF#000000##000000
##A8B3261.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#B3A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b326;
/* rgb */ color: rgb(168, 179, 38);
/* oklch */ color: oklch(73.4% 0.154 114.2);
Tailwind
colors: {
  custom: {
    50: '#c6c96d',
    500: '#a8b326',
    950: '#000000',
  },
}
SCSS
$custom: #a8b326;
$custom-light: #c6c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b326",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 64.681,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7341,
    "c": 0.15431,
    "h": 114.2
  },
  "luminance": 0.40705
}

Semantic roles & 50–950 ramp

primary
#A8B326
secondary
#746DC8
accent
#40E84D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B326

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

Preview Lab → · Contrast checker → · Palette generator →

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