#A7BC28#A7BC28

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

Color values

HEX#A7BC28
RGBrgb(167, 188, 40)
HSLhsl(69, 65%, 45%)
HSVhsv(69, 79%, 74%)
CMYKcmyk(11.2%, 0%, 78.7%, 26.3%)
CIE-LABlab(72.45, -25.27, 66.17)
CIE-LCHlch(72.45, 70.83, 110.90°)
OKLaboklab(75.39% -0.0763 0.1445)
OKLCHoklch(75.39% 0.163 117.8)
XYZxyz(34.3034, 44.3355, 8.7576)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC28 #3D28BC
analogous
#BC8728 #A7BC28 #5DBC28
triadic
#A7BC28 #28A7BC #BC28A7
tetradic
#A7BC28 #28BC87 #3D28BC #BC285D
square
#A7BC28 #28BC87 #3D28BC #BC285D
split-complementary
#A7BC28 #285DBC #8728BC
monochromatic
#4D5713 #7A8A1D #A7BC28 #C4D849 #D4E37B

Accessibility & contrast

On white

2.13
#A7BC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#A7BC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BC28
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BC28#FFFFFF#000000##000000
##A7BC281.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B237
Tritanopia (blue-blind)
#B2B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc28;
/* rgb */ color: rgb(167, 188, 40);
/* oklch */ color: oklch(75.4% 0.163 117.8);
Tailwind
colors: {
  custom: {
    50: '#c5d06f',
    500: '#a7bc28',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc28;
$custom-light: #c5d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc28",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 68.514,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75389,
    "c": 0.16345,
    "h": 117.8
  },
  "luminance": 0.44335
}

Semantic roles & 50–950 ramp

primary
#A7BC28
secondary
#8175CB
accent
#40E858
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BC28

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

Preview Lab → · Contrast checker → · Palette generator →

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