#A8BC40#A8BC40

#A8BC40 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.6% C 0.149 H 118.0°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#A8BC40
RGBrgb(168, 188, 64)
HSLhsl(70, 49%, 49%)
HSVhsv(70, 66%, 74%)
CMYKcmyk(10.6%, 0%, 66%, 26.3%)
CIE-LABlab(72.67, -23.61, 58.00)
CIE-LCHlch(72.67, 62.62, 112.15°)
OKLaboklab(75.63% -0.0697 0.1312)
OKLCHoklch(75.63% 0.149 118)
XYZxyz(35.0578, 44.6618, 11.6232)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BC40 #5440BC
analogous
#BC9240 #A8BC40 #6ABC40
triadic
#A8BC40 #40A8BC #BC40A8
tetradic
#A8BC40 #40BC92 #5440BC #BC406A
square
#A8BC40 #40BC92 #5440BC #BC406A
split-complementary
#A8BC40 #406ABC #9240BC
monochromatic
#566121 #7F8E30 #A8BC40 #BDCD6C #D2DD9A

Accessibility & contrast

On white

2.11
#A8BC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#A8BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BC40
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BC40#FFFFFF#000000##000000
##A8BC401.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#B2B2A3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a8bc40;
/* rgb */ color: rgb(168, 188, 64);
/* oklch */ color: oklch(75.6% 0.149 118.0);
Tailwind
colors: {
  custom: {
    50: '#c5d07b',
    500: '#a8bc40',
    950: '#000000',
  },
}
SCSS
$custom: #a8bc40;
$custom-light: #c5d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bc40",
  "rgb": {
    "r": 168,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 69.677,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75627,
    "c": 0.14859,
    "h": 118
  },
  "luminance": 0.44661
}

Semantic roles & 50–950 ramp

primary
#A8BC40
secondary
#998FC9
accent
#4FD965
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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