#A7BD2B#A7BD2B

#A7BD2B is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.6% C 0.163 H 118.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#A7BD2B
RGBrgb(167, 189, 43)
HSLhsl(69, 63%, 45%)
HSVhsv(69, 77%, 74%)
CMYKcmyk(11.6%, 0%, 77.2%, 25.9%)
CIE-LABlab(72.75, -25.63, 65.55)
CIE-LCHlch(72.75, 70.38, 111.36°)
OKLaboklab(75.63% -0.0771 0.1437)
OKLCHoklch(75.63% 0.163 118.2)
XYZxyz(34.5708, 44.7854, 9.1083)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BD2B #412BBD
analogous
#BD8A2B #A7BD2B #5EBD2B
triadic
#A7BD2B #2BA7BD #BD2BA7
tetradic
#A7BD2B #2BBD8A #412BBD #BD2B5E
square
#A7BD2B #2BBD8A #412BBD #BD2B5E
split-complementary
#A7BD2B #2B5EBD #8A2BBD
monochromatic
#4F5914 #7B8B20 #A7BD2B #C2D74E #D3E280

Accessibility & contrast

On white

2.11
#A7BD2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#A7BD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BD2B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BD2B#FFFFFF#000000##000000
##A7BD2B1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7bd2b;
/* rgb */ color: rgb(167, 189, 43);
/* oklch */ color: oklch(75.6% 0.163 118.2);
Tailwind
colors: {
  custom: {
    50: '#c5d071',
    500: '#a7bd2b',
    950: '#000000',
  },
}
SCSS
$custom: #a7bd2b;
$custom-light: #c5d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bd2b",
  "rgb": {
    "r": 167,
    "g": 189,
    "b": 43
  },
  "hsl": {
    "h": 69.041,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75634,
    "c": 0.1631,
    "h": 118.2
  },
  "luminance": 0.44785
}

Semantic roles & 50–950 ramp

primary
#A7BD2B
secondary
#8579CB
accent
#42E65B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7BD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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