#A8BD38#A8BD38

#A8BD38 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.8% C 0.155 H 118.1°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#A8BD38
RGBrgb(168, 189, 56)
HSLhsl(69, 54%, 48%)
HSVhsv(69, 70%, 74%)
CMYKcmyk(11.1%, 0%, 70.4%, 25.9%)
CIE-LABlab(72.90, -24.58, 61.32)
CIE-LCHlch(72.90, 66.06, 111.85°)
OKLaboklab(75.79% -0.0731 0.137)
OKLCHoklch(75.79% 0.155 118.1)
XYZxyz(35.0606, 45.0059, 10.5806)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BD38 #4D38BD
analogous
#BD9038 #A8BD38 #65BD38
triadic
#A8BD38 #38A8BD #BD38A8
tetradic
#A8BD38 #38BD90 #4D38BD #BD3865
square
#A8BD38 #38BD90 #4D38BD #BD3865
split-complementary
#A8BD38 #3865BD #9038BD
monochromatic
#545F1C #7E8E2A #A8BD38 #BFD062 #D2DE91

Accessibility & contrast

On white

2.10
#A8BD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#A8BD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BD38
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BD38#FFFFFF#000000##000000
##A8BD381.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B321
Deuteranopia (green-blind)
#C7B443
Tritanopia (blue-blind)
#B2B3A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a8bd38;
/* rgb */ color: rgb(168, 189, 56);
/* oklch */ color: oklch(75.8% 0.155 118.1);
Tailwind
colors: {
  custom: {
    50: '#c5d077',
    500: '#a8bd38',
    950: '#000000',
  },
}
SCSS
$custom: #a8bd38;
$custom-light: #c5d077;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bd38",
  "rgb": {
    "r": 168,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 69.474,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75792,
    "c": 0.15527,
    "h": 118.1
  },
  "luminance": 0.45006
}

Semantic roles & 50–950 ramp

primary
#A8BD38
secondary
#9287C9
accent
#4ADE61
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A8BD38

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

Preview Lab → · Contrast checker → · Palette generator →

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