#A8BB1F#A8BB1F

#A8BB1F is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.2% C 0.166 H 117.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#A8BB1F
RGBrgb(168, 187, 31)
HSLhsl(67, 72%, 43%)
HSVhsv(67, 83%, 73%)
CMYKcmyk(10.2%, 0%, 83.4%, 26.7%)
CIE-LABlab(72.20, -24.68, 68.37)
CIE-LCHlch(72.20, 72.69, 109.85°)
OKLaboklab(75.2% -0.0753 0.1477)
OKLCHoklch(75.2% 0.166 117)
XYZxyz(34.1670, 43.9649, 7.9822)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BB1F #321FBB
analogous
#BB801F #A8BB1F #5ABB1F
triadic
#A8BB1F #1FA8BB #BB1FA8
tetradic
#A8BB1F #1FBB80 #321FBB #BB1F5A
square
#A8BB1F #1FBB80 #321FBB #BB1F5A
split-complementary
#A8BB1F #1F5ABB #801FBB
monochromatic
#4A520E #798716 #A8BB1F #CADE39 #D8E76E

Accessibility & contrast

On white

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

On black

9.79
#A8BB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BB1F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BB1F#FFFFFF#000000##000000
##A8BB1F1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8bb1f;
/* rgb */ color: rgb(168, 187, 31);
/* oklch */ color: oklch(75.2% 0.166 117.0);
Tailwind
colors: {
  custom: {
    50: '#c6cf6c',
    500: '#a8bb1f',
    950: '#000000',
  },
}
SCSS
$custom: #a8bb1f;
$custom-light: #c6cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bb1f",
  "rgb": {
    "r": 168,
    "g": 187,
    "b": 31
  },
  "hsl": {
    "h": 67.308,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.75197,
    "c": 0.16581,
    "h": 117
  },
  "luminance": 0.43964
}

Semantic roles & 50–950 ramp

primary
#A8BB1F
secondary
#7569CD
accent
#3AEE50
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8BB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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