#A7BF2C#A7BF2C

#A7BF2C is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.1% C 0.165 H 118.9°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#A7BF2C
RGBrgb(167, 191, 44)
HSLhsl(70, 63%, 46%)
HSVhsv(70, 77%, 75%)
CMYKcmyk(12.6%, 0%, 77%, 25.1%)
CIE-LABlab(73.32, -26.56, 65.77)
CIE-LCHlch(73.32, 70.93, 111.99°)
OKLaboklab(76.1% -0.0795 0.1444)
OKLCHoklch(76.1% 0.165 118.9)
XYZxyz(35.0226, 45.6592, 9.3505)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BF2C #442CBF
analogous
#BF8D2C #A7BF2C #5DBF2C
triadic
#A7BF2C #2CA7BF #BF2CA7
tetradic
#A7BF2C #2CBF8D #442CBF #BF2C5D
square
#A7BF2C #2CBF8D #442CBF #BF2C5D
split-complementary
#A7BF2C #2C5DBF #8D2CBF
monochromatic
#505C15 #7C8D21 #A7BF2C #C1D751 #D3E283

Accessibility & contrast

On white

2.07
#A7BF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#A7BF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BF2C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BF2C#FFFFFF#000000##000000
##A7BF2C1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C9B53A
Tritanopia (blue-blind)
#B1B4A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a7bf2c;
/* rgb */ color: rgb(167, 191, 44);
/* oklch */ color: oklch(76.1% 0.165 118.9);
Tailwind
colors: {
  custom: {
    50: '#c5d271',
    500: '#a7bf2c',
    950: '#000000',
  },
}
SCSS
$custom: #a7bf2c;
$custom-light: #c5d271;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bf2c",
  "rgb": {
    "r": 167,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 69.796,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76097,
    "c": 0.16483,
    "h": 118.9
  },
  "luminance": 0.45659
}

Semantic roles & 50–950 ramp

primary
#A7BF2C
secondary
#887BCC
accent
#42E65D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7BF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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