#A7BE2A#A7BE2A

#A7BE2A is a light, vivid yellow. Relative luminance 0.452; OKLCH L 75.9% C 0.165 H 118.5°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#A7BE2A
RGBrgb(167, 190, 42)
HSLhsl(69, 64%, 45%)
HSVhsv(69, 78%, 75%)
CMYKcmyk(12.1%, 0%, 77.9%, 25.5%)
CIE-LABlab(73.03, -26.16, 66.11)
CIE-LCHlch(73.03, 71.09, 111.59°)
OKLaboklab(75.86% -0.0786 0.1448)
OKLCHoklch(75.86% 0.165 118.5)
XYZxyz(34.7685, 45.2099, 9.0848)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BE2A #412ABE
analogous
#BE8B2A #A7BE2A #5DBE2A
triadic
#A7BE2A #2AA7BE #BE2AA7
tetradic
#A7BE2A #2ABE8B #412ABE #BE2A5D
square
#A7BE2A #2ABE8B #412ABE #BE2A5D
split-complementary
#A7BE2A #2A5DBE #8B2ABE
monochromatic
#4F5A14 #7B8C1F #A7BE2A #C2D84D #D3E380

Accessibility & contrast

On white

2.09
#A7BE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#A7BE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BE2A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BE2A#FFFFFF#000000##000000
##A7BE2A1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#C8B438
Tritanopia (blue-blind)
#B1B3A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a7be2a;
/* rgb */ color: rgb(167, 190, 42);
/* oklch */ color: oklch(75.9% 0.165 118.5);
Tailwind
colors: {
  custom: {
    50: '#c5d170',
    500: '#a7be2a',
    950: '#000000',
  },
}
SCSS
$custom: #a7be2a;
$custom-light: #c5d170;
$custom-dark: #000000;
JSON
{
  "hex": "#a7be2a",
  "rgb": {
    "r": 167,
    "g": 190,
    "b": 42
  },
  "hsl": {
    "h": 69.324,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75857,
    "c": 0.16471,
    "h": 118.5
  },
  "luminance": 0.4521
}

Semantic roles & 50–950 ramp

primary
#A7BE2A
secondary
#8578CB
accent
#41E75B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7BE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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