#A8BA35#A8BA35

#A8BA35 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.154 H 117.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#A8BA35
RGBrgb(168, 186, 53)
HSLhsl(68, 56%, 47%)
HSVhsv(68, 72%, 73%)
CMYKcmyk(9.7%, 0%, 71.5%, 27.1%)
CIE-LABlab(72.03, -23.28, 61.56)
CIE-LCHlch(72.03, 65.81, 110.71°)
OKLaboklab(75.09% -0.0698 0.137)
OKLCHoklch(75.09% 0.154 117)
XYZxyz(34.3508, 43.7001, 9.9928)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA35 #4735BA
analogous
#BA8A35 #A8BA35 #66BA35
triadic
#A8BA35 #35A8BA #BA35A8
tetradic
#A8BA35 #35BA8A #4735BA #BA3566
square
#A8BA35 #35BA8A #4735BA #BA3566
split-complementary
#A8BA35 #3566BA #8A35BA
monochromatic
#525B1A #7D8A27 #A8BA35 #C1D05C #D3DE8B

Accessibility & contrast

On white

2.16
#A8BA35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#A8BA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA35
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA35#FFFFFF#000000##000000
##A8BA351.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01D
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#B2B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8ba35;
/* rgb */ color: rgb(168, 186, 53);
/* oklch */ color: oklch(75.1% 0.154 117.0);
Tailwind
colors: {
  custom: {
    50: '#c5ce75',
    500: '#a8ba35',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba35;
$custom-light: #c5ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba35",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 68.12,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75088,
    "c": 0.15373,
    "h": 117
  },
  "luminance": 0.437
}

Semantic roles & 50–950 ramp

primary
#A8BA35
secondary
#8C82C8
accent
#49DF5D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BA35

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

Preview Lab → · Contrast checker → · Palette generator →

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