#A8B11B#A8B11B

#A8B11B is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.157 H 113.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#A8B11B
RGBrgb(168, 177, 27)
HSLhsl(64, 74%, 40%)
HSVhsv(64, 85%, 69%)
CMYKcmyk(5.1%, 0%, 84.7%, 30.6%)
CIE-LABlab(69.36, -19.85, 66.91)
CIE-LCHlch(69.36, 69.79, 106.53°)
OKLaboklab(72.91% -0.0623 0.1439)
OKLCHoklch(72.91% 0.157 113.4)
XYZxyz(32.0695, 39.8490, 7.0390)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B11B #241BB1
analogous
#B16F1B #A8B11B #5DB11B
triadic
#A8B11B #1BA8B1 #B11BA8
tetradic
#A8B11B #1BB16F #241BB1 #B11B5D
square
#A8B11B #1BB16F #241BB1 #B11B5D
split-complementary
#A8B11B #1B5DB1 #6F1BB1
monochromatic
#43470B #767C13 #A8B11B #D4DF2B #DFE760

Accessibility & contrast

On white

2.34
#A8B11B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#A8B11B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B11B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B11B#FFFFFF#000000##000000
##A8B11B1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#B4A697
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b11b;
/* rgb */ color: rgb(168, 177, 27);
/* oklch */ color: oklch(72.9% 0.157 113.4);
Tailwind
colors: {
  custom: {
    50: '#c6c869',
    500: '#a8b11b',
    950: '#000000',
  },
}
SCSS
$custom: #a8b11b;
$custom-light: #c6c869;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b11b",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 27
  },
  "hsl": {
    "h": 63.6,
    "s": 73.529,
    "l": 40
  },
  "oklch": {
    "l": 0.72909,
    "c": 0.1568,
    "h": 113.4
  },
  "luminance": 0.39848
}

Semantic roles & 50–950 ramp

primary
#A8B11B
secondary
#635DCB
accent
#38F043
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A8B11B

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

Preview Lab → · Contrast checker → · Palette generator →

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