#A8BB2B#A8BB2B

#A8BB2B is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.161 H 117.2°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#A8BB2B
RGBrgb(168, 187, 43)
HSLhsl(68, 63%, 45%)
HSVhsv(68, 77%, 73%)
CMYKcmyk(10.2%, 0%, 77%, 26.7%)
CIE-LABlab(72.26, -24.24, 65.12)
CIE-LCHlch(72.26, 69.49, 110.42°)
OKLaboklab(75.25% -0.0733 0.1428)
OKLCHoklch(75.25% 0.161 117.2)
XYZxyz(34.3557, 44.0403, 8.9758)
Luminance0.4404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BB2B #3E2BBB
analogous
#BB862B #A8BB2B #60BB2B
triadic
#A8BB2B #2BA8BB #BB2BA8
tetradic
#A8BB2B #2BBB86 #3E2BBB #BB2B60
square
#A8BB2B #2BBB86 #3E2BBB #BB2B60
split-complementary
#A8BB2B #2B60BB #862BBB
monochromatic
#4F5714 #7B8920 #A8BB2B #C4D64D #D5E27F

Accessibility & contrast

On white

2.14
#A8BB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#A8BB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BB2B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BB2B#FFFFFF#000000##000000
##A8BB2B1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#B3B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8bb2b;
/* rgb */ color: rgb(168, 187, 43);
/* oklch */ color: oklch(75.3% 0.161 117.2);
Tailwind
colors: {
  custom: {
    50: '#c6cf71',
    500: '#a8bb2b',
    950: '#000000',
  },
}
SCSS
$custom: #a8bb2b;
$custom-light: #c6cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bb2b",
  "rgb": {
    "r": 168,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 67.917,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75254,
    "c": 0.16051,
    "h": 117.2
  },
  "luminance": 0.4404
}

Semantic roles & 50–950 ramp

primary
#A8BB2B
secondary
#8378CA
accent
#42E658
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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