#A8BA2B#A8BA2B

#A8BA2B is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.159 H 116.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A8BA2B
RGBrgb(168, 186, 43)
HSLhsl(68, 62%, 45%)
HSVhsv(68, 77%, 73%)
CMYKcmyk(9.7%, 0%, 76.9%, 27.1%)
CIE-LABlab(71.97, -23.75, 64.86)
CIE-LCHlch(71.97, 69.07, 110.11°)
OKLaboklab(75.03% -0.0719 0.1422)
OKLCHoklch(75.03% 0.159 116.8)
XYZxyz(34.1443, 43.6175, 8.9053)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA2B #3D2BBA
analogous
#BA842B #A8BA2B #61BA2B
triadic
#A8BA2B #2BA8BA #BA2BA8
tetradic
#A8BA2B #2BBA84 #3D2BBA #BA2B61
square
#A8BA2B #2BBA84 #3D2BBA #BA2B61
split-complementary
#A8BA2B #2B61BA #842BBA
monochromatic
#4E5714 #7B8820 #A8BA2B #C4D64C #D5E17E

Accessibility & contrast

On white

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

On black

9.72
#A8BA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA2B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA2B#FFFFFF#000000##000000
##A8BA2B1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B001
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#B3AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8ba2b;
/* rgb */ color: rgb(168, 186, 43);
/* oklch */ color: oklch(75.0% 0.159 116.8);
Tailwind
colors: {
  custom: {
    50: '#c6ce70',
    500: '#a8ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba2b;
$custom-light: #c6ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba2b",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 67.552,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75026,
    "c": 0.1594,
    "h": 116.8
  },
  "luminance": 0.43617
}

Semantic roles & 50–950 ramp

primary
#A8BA2B
secondary
#8177CA
accent
#42E657
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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