#A8BB2D#A8BB2D

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

Color values

HEX#A8BB2D
RGBrgb(168, 187, 45)
HSLhsl(68, 61%, 45%)
HSVhsv(68, 76%, 73%)
CMYKcmyk(10.2%, 0%, 75.9%, 26.7%)
CIE-LABlab(72.27, -24.16, 64.50)
CIE-LCHlch(72.27, 68.88, 110.53°)
OKLaboklab(75.27% -0.0729 0.1418)
OKLCHoklch(75.27% 0.159 117.2)
XYZxyz(34.3933, 44.0554, 9.1738)
Luminance0.4405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BB2D #402DBB
analogous
#BB872D #A8BB2D #61BB2D
triadic
#A8BB2D #2DA8BB #BB2DA8
tetradic
#A8BB2D #2DBB87 #402DBB #BB2D61
square
#A8BB2D #2DBB87 #402DBB #BB2D61
split-complementary
#A8BB2D #2D61BB #872DBB
monochromatic
#4F5815 #7C8A21 #A8BB2D #C3D550 #D4E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8BB2D#FFFFFF#000000##000000
##A8BB2D1.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)
#C8B107
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#B3B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8bb2d;
/* rgb */ color: rgb(168, 187, 45);
/* oklch */ color: oklch(75.3% 0.159 117.2);
Tailwind
colors: {
  custom: {
    50: '#c5cf71',
    500: '#a8bb2d',
    950: '#000000',
  },
}
SCSS
$custom: #a8bb2d;
$custom-light: #c5cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bb2d",
  "rgb": {
    "r": 168,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 68.028,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75265,
    "c": 0.15947,
    "h": 117.2
  },
  "luminance": 0.44055
}

Semantic roles & 50–950 ramp

primary
#A8BB2D
secondary
#857ACA
accent
#43E459
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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