#A8BC38#A8BC38

#A8BC38 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.6% C 0.154 H 117.8°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#A8BC38
RGBrgb(168, 188, 56)
HSLhsl(69, 54%, 48%)
HSVhsv(69, 70%, 74%)
CMYKcmyk(10.6%, 0%, 70.2%, 26.3%)
CIE-LABlab(72.61, -24.09, 61.04)
CIE-LCHlch(72.61, 65.62, 111.54°)
OKLaboklab(75.57% -0.0718 0.1364)
OKLCHoklch(75.57% 0.154 117.8)
XYZxyz(34.8462, 44.5771, 10.5092)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BC38 #4C38BC
analogous
#BC8E38 #A8BC38 #66BC38
triadic
#A8BC38 #38A8BC #BC38A8
tetradic
#A8BC38 #38BC8E #4C38BC #BC3866
square
#A8BC38 #38BC8E #4C38BC #BC3866
split-complementary
#A8BC38 #3866BC #8E38BC
monochromatic
#545E1C #7E8D2A #A8BC38 #BFD061 #D2DE90

Accessibility & contrast

On white

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

On black

9.92
#A8BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BC38
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BC38#FFFFFF#000000##000000
##A8BC381.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#C6B342
Tritanopia (blue-blind)
#B2B2A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a8bc38;
/* rgb */ color: rgb(168, 188, 56);
/* oklch */ color: oklch(75.6% 0.154 117.8);
Tailwind
colors: {
  custom: {
    50: '#c5d077',
    500: '#a8bc38',
    950: '#000000',
  },
}
SCSS
$custom: #a8bc38;
$custom-light: #c5d077;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bc38",
  "rgb": {
    "r": 168,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 69.091,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75565,
    "c": 0.15411,
    "h": 117.8
  },
  "luminance": 0.44577
}

Semantic roles & 50–950 ramp

primary
#A8BC38
secondary
#9187C9
accent
#4ADD61
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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