#A8B926#A8B926

#A8B926 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.161 H 116.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#A8B926
RGBrgb(168, 185, 38)
HSLhsl(67, 66%, 44%)
HSVhsv(67, 79%, 73%)
CMYKcmyk(9.2%, 0%, 79.5%, 27.5%)
CIE-LABlab(71.67, -23.46, 66.07)
CIE-LCHlch(71.67, 70.11, 109.55°)
OKLaboklab(74.77% -0.0715 0.144)
OKLCHoklch(74.77% 0.161 116.4)
XYZxyz(33.8482, 43.1632, 8.3816)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B926 #3726B9
analogous
#B98026 #A8B926 #5EB926
triadic
#A8B926 #26A8B9 #B926A8
tetradic
#A8B926 #26B980 #3726B9 #B9265E
square
#A8B926 #26B980 #3726B9 #B9265E
split-complementary
#A8B926 #265EB9 #8026B9
monochromatic
#4C5311 #7A861C #A8B926 #C7D944 #D6E376

Accessibility & contrast

On white

2.18
#A8B926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#A8B926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B926
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B926#FFFFFF#000000##000000
##A8B9261.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C5B035
Tritanopia (blue-blind)
#B3AE9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8b926;
/* rgb */ color: rgb(168, 185, 38);
/* oklch */ color: oklch(74.8% 0.161 116.4);
Tailwind
colors: {
  custom: {
    50: '#c6cd6e',
    500: '#a8b926',
    950: '#000000',
  },
}
SCSS
$custom: #a8b926;
$custom-light: #c6cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b926",
  "rgb": {
    "r": 168,
    "g": 185,
    "b": 38
  },
  "hsl": {
    "h": 66.939,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74772,
    "c": 0.16074,
    "h": 116.4
  },
  "luminance": 0.43163
}

Semantic roles & 50–950 ramp

primary
#A8B926
secondary
#7B70CA
accent
#3FE953
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B926

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

Preview Lab → · Contrast checker → · Palette generator →

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