#A7BD28#A7BD28

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

Color values

HEX#A7BD28
RGBrgb(167, 189, 40)
HSLhsl(69, 65%, 45%)
HSVhsv(69, 79%, 74%)
CMYKcmyk(11.6%, 0%, 78.8%, 25.9%)
CIE-LABlab(72.74, -25.76, 66.43)
CIE-LCHlch(72.74, 71.25, 111.19°)
OKLaboklab(75.62% -0.0776 0.1451)
OKLCHoklch(75.62% 0.165 118.2)
XYZxyz(34.5178, 44.7642, 8.8290)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BD28 #3E28BD
analogous
#BD8928 #A7BD28 #5DBD28
triadic
#A7BD28 #28A7BD #BD28A7
tetradic
#A7BD28 #28BD89 #3E28BD #BD285D
square
#A7BD28 #28BD89 #3E28BD #BD285D
split-complementary
#A7BD28 #285DBD #8928BD
monochromatic
#4E5813 #7A8A1D #A7BD28 #C3D94A #D4E37C

Accessibility & contrast

On white

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

On black

9.95
#A7BD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BD28
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BD28#FFFFFF#000000##000000
##A7BD281.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7bd28;
/* rgb */ color: rgb(167, 189, 40);
/* oklch */ color: oklch(75.6% 0.165 118.2);
Tailwind
colors: {
  custom: {
    50: '#c5d06f',
    500: '#a7bd28',
    950: '#000000',
  },
}
SCSS
$custom: #a7bd28;
$custom-light: #c5d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bd28",
  "rgb": {
    "r": 167,
    "g": 189,
    "b": 40
  },
  "hsl": {
    "h": 68.859,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75618,
    "c": 0.16456,
    "h": 118.2
  },
  "luminance": 0.44764
}

Semantic roles & 50–950 ramp

primary
#A7BD28
secondary
#8275CB
accent
#40E859
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7BD28

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

Preview Lab → · Contrast checker → · Palette generator →

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