#A8BA2D#A8BA2D

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

Color values

HEX#A8BA2D
RGBrgb(168, 186, 45)
HSLhsl(68, 61%, 45%)
HSVhsv(68, 76%, 73%)
CMYKcmyk(9.7%, 0%, 75.8%, 27.1%)
CIE-LABlab(71.98, -23.67, 64.24)
CIE-LCHlch(71.98, 68.46, 110.22°)
OKLaboklab(75.04% -0.0715 0.1413)
OKLCHoklch(75.04% 0.158 116.9)
XYZxyz(34.1819, 43.6325, 9.1034)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA2D #3F2DBA
analogous
#BA862D #A8BA2D #61BA2D
triadic
#A8BA2D #2DA8BA #BA2DA8
tetradic
#A8BA2D #2DBA86 #3F2DBA #BA2D61
square
#A8BA2D #2DBA86 #3F2DBA #BA2D61
split-complementary
#A8BA2D #2D61BA #862DBA
monochromatic
#4F5715 #7B8921 #A8BA2D #C4D550 #D4E081

Accessibility & contrast

On white

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

On black

9.73
#A8BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA2D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA2D#FFFFFF#000000##000000
##A8BA2D1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B008
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#B3AFA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8ba2d;
/* rgb */ color: rgb(168, 186, 45);
/* oklch */ color: oklch(75.0% 0.158 116.9);
Tailwind
colors: {
  custom: {
    50: '#c5ce71',
    500: '#a8ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba2d;
$custom-light: #c5ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba2d",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 67.66,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75037,
    "c": 0.15836,
    "h": 116.9
  },
  "luminance": 0.43632
}

Semantic roles & 50–950 ramp

primary
#A8BA2D
secondary
#8479C9
accent
#44E458
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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