#A8BC2E#A8BC2E

#A8BC2E 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#A8BC2E
RGBrgb(168, 188, 46)
HSLhsl(68, 61%, 46%)
HSVhsv(68, 76%, 74%)
CMYKcmyk(10.6%, 0%, 75.5%, 26.3%)
CIE-LABlab(72.55, -24.60, 64.45)
CIE-LCHlch(72.55, 68.99, 110.89°)
OKLaboklab(75.5% -0.074 0.1419)
OKLCHoklch(75.5% 0.16 117.6)
XYZxyz(34.6256, 44.4889, 9.3474)
Luminance0.4449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BC2E #422EBC
analogous
#BC892E #A8BC2E #61BC2E
triadic
#A8BC2E #2EA8BC #BC2EA8
tetradic
#A8BC2E #2EBC89 #422EBC #BC2E61
square
#A8BC2E #2EBC89 #422EBC #BC2E61
split-complementary
#A8BC2E #2E61BC #892EBC
monochromatic
#505A16 #7C8B22 #A8BC2E #C2D552 #D4E184

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8BC2E#FFFFFF#000000##000000
##A8BC2E1.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)
#C9B20A
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#B3B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a8bc2e;
/* rgb */ color: rgb(168, 188, 46);
/* oklch */ color: oklch(75.5% 0.160 117.6);
Tailwind
colors: {
  custom: {
    50: '#c5d072',
    500: '#a8bc2e',
    950: '#000000',
  },
}
SCSS
$custom: #a8bc2e;
$custom-light: #c5d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bc2e",
  "rgb": {
    "r": 168,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 68.451,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75499,
    "c": 0.16005,
    "h": 117.6
  },
  "luminance": 0.44489
}

Semantic roles & 50–950 ramp

primary
#A8BC2E
secondary
#877CCA
accent
#44E45A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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