#A7BC27#A7BC27

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

Color values

HEX#A7BC27
RGBrgb(167, 188, 39)
HSLhsl(68, 66%, 45%)
HSVhsv(68, 79%, 74%)
CMYKcmyk(11.2%, 0%, 79.3%, 26.3%)
CIE-LABlab(72.45, -25.31, 66.46)
CIE-LCHlch(72.45, 71.11, 110.85°)
OKLaboklab(75.38% -0.0765 0.145)
OKLCHoklch(75.38% 0.164 117.8)
XYZxyz(34.2866, 44.3288, 8.6692)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC27 #3C27BC
analogous
#BC8627 #A7BC27 #5DBC27
triadic
#A7BC27 #27A7BC #BC27A7
tetradic
#A7BC27 #27BC86 #3C27BC #BC275D
square
#A7BC27 #27BC86 #3C27BC #BC275D
split-complementary
#A7BC27 #275DBC #8627BC
monochromatic
#4D5712 #7A891C #A7BC27 #C4D947 #D5E37A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7BC27#FFFFFF#000000##000000
##A7BC271.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)
#C7B236
Tritanopia (blue-blind)
#B2B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc27;
/* rgb */ color: rgb(167, 188, 39);
/* oklch */ color: oklch(75.4% 0.164 117.8);
Tailwind
colors: {
  custom: {
    50: '#c5d06f',
    500: '#a7bc27',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc27;
$custom-light: #c5d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc27",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 39
  },
  "hsl": {
    "h": 68.456,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75384,
    "c": 0.16392,
    "h": 117.8
  },
  "luminance": 0.44328
}

Semantic roles & 50–950 ramp

primary
#A7BC27
secondary
#8073CB
accent
#3FE957
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BC27

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

Preview Lab → · Contrast checker → · Palette generator →

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