#A8BC2B#A8BC2B

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

Color values

HEX#A8BC2B
RGBrgb(168, 188, 43)
HSLhsl(68, 63%, 45%)
HSVhsv(68, 77%, 74%)
CMYKcmyk(10.6%, 0%, 77.1%, 26.3%)
CIE-LABlab(72.54, -24.73, 65.38)
CIE-LCHlch(72.54, 69.90, 110.72°)
OKLaboklab(75.48% -0.0746 0.1434)
OKLCHoklch(75.48% 0.162 117.5)
XYZxyz(34.5686, 44.4661, 9.0468)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BC2B #3F2BBC
analogous
#BC882B #A8BC2B #5FBC2B
triadic
#A8BC2B #2BA8BC #BC2BA8
tetradic
#A8BC2B #2BBC88 #3F2BBC #BC2B5F
square
#A8BC2B #2BBC88 #3F2BBC #BC2B5F
split-complementary
#A8BC2B #2B5FBC #882BBC
monochromatic
#4F5814 #7B8A20 #A8BC2B #C4D64E #D4E280

Accessibility & contrast

On white

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

On black

9.89
#A8BC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BC2B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BC2B#FFFFFF#000000##000000
##A8BC2B1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#B3B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a8bc2b;
/* rgb */ color: rgb(168, 188, 43);
/* oklch */ color: oklch(75.5% 0.162 117.5);
Tailwind
colors: {
  custom: {
    50: '#c6d071',
    500: '#a8bc2b',
    950: '#000000',
  },
}
SCSS
$custom: #a8bc2b;
$custom-light: #c6d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bc2b",
  "rgb": {
    "r": 168,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 68.276,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75482,
    "c": 0.16162,
    "h": 117.5
  },
  "luminance": 0.44466
}

Semantic roles & 50–950 ramp

primary
#A8BC2B
secondary
#8478CB
accent
#42E659
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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