#A8BC2D#A8BC2D

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

Color values

HEX#A8BC2D
RGBrgb(168, 188, 45)
HSLhsl(68, 61%, 46%)
HSVhsv(68, 76%, 74%)
CMYKcmyk(10.6%, 0%, 76.1%, 26.3%)
CIE-LABlab(72.55, -24.64, 64.77)
CIE-LCHlch(72.55, 69.30, 110.83°)
OKLaboklab(75.49% -0.0742 0.1424)
OKLCHoklch(75.49% 0.161 117.5)
XYZxyz(34.6062, 44.4811, 9.2448)
Luminance0.4448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BC2D #412DBC
analogous
#BC882D #A8BC2D #60BC2D
triadic
#A8BC2D #2DA8BC #BC2DA8
tetradic
#A8BC2D #2DBC88 #412DBC #BC2D60
square
#A8BC2D #2DBC88 #412DBC #BC2D60
split-complementary
#A8BC2D #2D60BC #882DBC
monochromatic
#505915 #7C8B21 #A8BC2D #C3D551 #D4E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8BC2D#FFFFFF#000000##000000
##A8BC2D1.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)
#C9B206
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#B3B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a8bc2d;
/* rgb */ color: rgb(168, 188, 45);
/* oklch */ color: oklch(75.5% 0.161 117.5);
Tailwind
colors: {
  custom: {
    50: '#c5d072',
    500: '#a8bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #a8bc2d;
$custom-light: #c5d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bc2d",
  "rgb": {
    "r": 168,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 68.392,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75493,
    "c": 0.16059,
    "h": 117.5
  },
  "luminance": 0.44481
}

Semantic roles & 50–950 ramp

primary
#A8BC2D
secondary
#867BCA
accent
#43E45A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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