#A8BB2F#A8BB2F

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

Color values

HEX#A8BB2F
RGBrgb(168, 187, 47)
HSLhsl(68, 60%, 46%)
HSVhsv(68, 75%, 73%)
CMYKcmyk(10.2%, 0%, 74.9%, 26.7%)
CIE-LABlab(72.28, -24.06, 63.87)
CIE-LCHlch(72.28, 68.25, 110.65°)
OKLaboklab(75.28% -0.0725 0.1408)
OKLCHoklch(75.28% 0.158 117.2)
XYZxyz(34.4327, 44.0711, 9.3814)
Luminance0.4407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BB2F #422FBB
analogous
#BB882F #A8BB2F #62BB2F
triadic
#A8BB2F #2FA8BB #BB2FA8
tetradic
#A8BB2F #2FBB88 #422FBB #BB2F62
square
#A8BB2F #2FBB88 #422FBB #BB2F62
split-complementary
#A8BB2F #2F62BB #882FBB
monochromatic
#505916 #7C8A23 #A8BB2F #C2D453 #D4E084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8BB2F#FFFFFF#000000##000000
##A8BB2F1.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)
#C8B10E
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#B3B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8bb2f;
/* rgb */ color: rgb(168, 187, 47);
/* oklch */ color: oklch(75.3% 0.158 117.2);
Tailwind
colors: {
  custom: {
    50: '#c5cf72',
    500: '#a8bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #a8bb2f;
$custom-light: #c5cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bb2f",
  "rgb": {
    "r": 168,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 68.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75277,
    "c": 0.15839,
    "h": 117.2
  },
  "luminance": 0.44071
}

Semantic roles & 50–950 ramp

primary
#A8BB2F
secondary
#877CC9
accent
#45E35A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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