#A7BF26#A7BF26

#A7BF26 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.1% C 0.168 H 118.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#A7BF26
RGBrgb(167, 191, 38)
HSLhsl(69, 67%, 45%)
HSVhsv(69, 80%, 75%)
CMYKcmyk(12.6%, 0%, 80.1%, 25.1%)
CIE-LABlab(73.30, -26.80, 67.49)
CIE-LCHlch(73.30, 72.62, 111.66°)
OKLaboklab(76.07% -0.0806 0.147)
OKLCHoklch(76.07% 0.168 118.7)
XYZxyz(34.9178, 45.6173, 8.7989)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BF26 #3E26BF
analogous
#BF8B26 #A7BF26 #5ABF26
triadic
#A7BF26 #26A7BF #BF26A7
tetradic
#A7BF26 #26BF8B #3E26BF #BF265A
square
#A7BF26 #26BF8B #3E26BF #BF265A
split-complementary
#A7BF26 #265ABF #8B26BF
monochromatic
#4E5912 #7A8C1C #A7BF26 #C3DB48 #D4E57B

Accessibility & contrast

On white

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

On black

10.12
#A7BF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BF26
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BF26#FFFFFF#000000##000000
##A7BF261.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7bf26;
/* rgb */ color: rgb(167, 191, 38);
/* oklch */ color: oklch(76.1% 0.168 118.7);
Tailwind
colors: {
  custom: {
    50: '#c5d26f',
    500: '#a7bf26',
    950: '#000000',
  },
}
SCSS
$custom: #a7bf26;
$custom-light: #c5d26f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bf26",
  "rgb": {
    "r": 167,
    "g": 191,
    "b": 38
  },
  "hsl": {
    "h": 69.412,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76066,
    "c": 0.16768,
    "h": 118.7
  },
  "luminance": 0.45617
}

Semantic roles & 50–950 ramp

primary
#A7BF26
secondary
#8274CD
accent
#3EEA59
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7BF26

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

Preview Lab → · Contrast checker → · Palette generator →

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