#A8BC2F#A8BC2F

#A8BC2F is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.5% C 0.160 H 117.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#A8BC2F
RGBrgb(168, 188, 47)
HSLhsl(69, 60%, 46%)
HSVhsv(69, 75%, 74%)
CMYKcmyk(10.6%, 0%, 75%, 26.3%)
CIE-LABlab(72.56, -24.55, 64.13)
CIE-LCHlch(72.56, 68.67, 110.95°)
OKLaboklab(75.51% -0.0738 0.1414)
OKLCHoklch(75.51% 0.16 117.6)
XYZxyz(34.6456, 44.4969, 9.4524)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BC2F #432FBC
analogous
#BC892F #A8BC2F #61BC2F
triadic
#A8BC2F #2FA8BC #BC2FA8
tetradic
#A8BC2F #2FBC89 #432FBC #BC2F61
square
#A8BC2F #2FBC89 #432FBC #BC2F61
split-complementary
#A8BC2F #2F61BC #892FBC
monochromatic
#505A17 #7C8B23 #A8BC2F #C2D454 #D3E085

Accessibility & contrast

On white

2.12
#A8BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#A8BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BC2F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BC2F#FFFFFF#000000##000000
##A8BC2F1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20D
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#B2B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a8bc2f;
/* rgb */ color: rgb(168, 188, 47);
/* oklch */ color: oklch(75.5% 0.160 117.6);
Tailwind
colors: {
  custom: {
    50: '#c5d072',
    500: '#a8bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #a8bc2f;
$custom-light: #c5d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bc2f",
  "rgb": {
    "r": 168,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 68.511,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.15951,
    "h": 117.6
  },
  "luminance": 0.44497
}

Semantic roles & 50–950 ramp

primary
#A8BC2F
secondary
#887DCA
accent
#45E35B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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