#A8BE38#A8BE38

#A8BE38 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.0% C 0.156 H 118.4°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#A8BE38
RGBrgb(168, 190, 56)
HSLhsl(70, 54%, 48%)
HSVhsv(70, 71%, 75%)
CMYKcmyk(11.6%, 0%, 70.5%, 25.5%)
CIE-LABlab(73.18, -25.07, 61.60)
CIE-LCHlch(73.18, 66.51, 112.14°)
OKLaboklab(76.02% -0.0745 0.1376)
OKLCHoklch(76.02% 0.156 118.4)
XYZxyz(35.2764, 45.4376, 10.6526)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BE38 #4E38BE
analogous
#BE9138 #A8BE38 #65BE38
triadic
#A8BE38 #38A8BE #BE38A8
tetradic
#A8BE38 #38BE91 #4E38BE #BE3865
square
#A8BE38 #38BE91 #4E38BE #BE3865
split-complementary
#A8BE38 #3865BE #9138BE
monochromatic
#545F1C #7E8F2A #A8BE38 #BFD162 #D2DF92

Accessibility & contrast

On white

2.08
#A8BE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#A8BE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BE38
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BE38#FFFFFF#000000##000000
##A8BE381.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB421
Deuteranopia (green-blind)
#C8B443
Tritanopia (blue-blind)
#B2B4A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8be38;
/* rgb */ color: rgb(168, 190, 56);
/* oklch */ color: oklch(76.0% 0.156 118.4);
Tailwind
colors: {
  custom: {
    50: '#c5d177',
    500: '#a8be38',
    950: '#000000',
  },
}
SCSS
$custom: #a8be38;
$custom-light: #c5d177;
$custom-dark: #000000;
JSON
{
  "hex": "#a8be38",
  "rgb": {
    "r": 168,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 69.851,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7602,
    "c": 0.15643,
    "h": 118.4
  },
  "luminance": 0.45437
}

Semantic roles & 50–950 ramp

primary
#A8BE38
secondary
#9388CA
accent
#4ADE62
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A8BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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