#A8BD2B#A8BD2B

#A8BD2B is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.7% C 0.163 H 117.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#A8BD2B
RGBrgb(168, 189, 43)
HSLhsl(69, 63%, 45%)
HSVhsv(69, 77%, 74%)
CMYKcmyk(11.1%, 0%, 77.2%, 25.9%)
CIE-LABlab(72.82, -25.22, 65.64)
CIE-LCHlch(72.82, 70.32, 111.01°)
OKLaboklab(75.71% -0.076 0.1439)
OKLCHoklch(75.71% 0.163 117.8)
XYZxyz(34.7829, 44.8948, 9.1182)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BD2B #402BBD
analogous
#BD892B #A8BD2B #5FBD2B
triadic
#A8BD2B #2BA8BD #BD2BA8
tetradic
#A8BD2B #2BBD89 #402BBD #BD2B5F
square
#A8BD2B #2BBD89 #402BBD #BD2B5F
split-complementary
#A8BD2B #2B5FBD #892BBD
monochromatic
#4F5914 #7C8B20 #A8BD2B #C3D74E #D4E280

Accessibility & contrast

On white

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

On black

9.98
#A8BD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BD2B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BD2B#FFFFFF#000000##000000
##A8BD2B1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#B3B2A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a8bd2b;
/* rgb */ color: rgb(168, 189, 43);
/* oklch */ color: oklch(75.7% 0.163 117.8);
Tailwind
colors: {
  custom: {
    50: '#c6d071',
    500: '#a8bd2b',
    950: '#000000',
  },
}
SCSS
$custom: #a8bd2b;
$custom-light: #c6d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bd2b",
  "rgb": {
    "r": 168,
    "g": 189,
    "b": 43
  },
  "hsl": {
    "h": 68.63,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7571,
    "c": 0.16273,
    "h": 117.8
  },
  "luminance": 0.44894
}

Semantic roles & 50–950 ramp

primary
#A8BD2B
secondary
#8579CB
accent
#42E659
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8BD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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