#A8BF38#A8BF38

#A8BF38 is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.2% C 0.158 H 118.8°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#A8BF38
RGBrgb(168, 191, 56)
HSLhsl(70, 55%, 48%)
HSVhsv(70, 71%, 75%)
CMYKcmyk(12%, 0%, 70.7%, 25.1%)
CIE-LABlab(73.46, -25.55, 61.88)
CIE-LCHlch(73.46, 66.95, 112.44°)
OKLaboklab(76.25% -0.0758 0.1382)
OKLCHoklch(76.25% 0.158 118.8)
XYZxyz(35.4938, 45.8722, 10.7250)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BF38 #4F38BF
analogous
#BF9238 #A8BF38 #64BF38
triadic
#A8BF38 #38A8BF #BF38A8
tetradic
#A8BF38 #38BF92 #4F38BF #BF3864
square
#A8BF38 #38BF92 #4F38BF #BF3864
split-complementary
#A8BF38 #3864BF #9238BF
monochromatic
#55601C #7E902A #A8BF38 #BED163 #D2DF92

Accessibility & contrast

On white

2.06
#A8BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#A8BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BF38
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BF38#FFFFFF#000000##000000
##A8BF381.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#B2B5A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8bf38;
/* rgb */ color: rgb(168, 191, 56);
/* oklch */ color: oklch(76.2% 0.158 118.8);
Tailwind
colors: {
  custom: {
    50: '#c5d277',
    500: '#a8bf38',
    950: '#000000',
  },
}
SCSS
$custom: #a8bf38;
$custom-light: #c5d277;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bf38",
  "rgb": {
    "r": 168,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 70.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76248,
    "c": 0.15759,
    "h": 118.8
  },
  "luminance": 0.45872
}

Semantic roles & 50–950 ramp

primary
#A8BF38
secondary
#9489CA
accent
#4ADE63
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A8BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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