#A7BC2C#A7BC2C

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

Color values

HEX#A7BC2C
RGBrgb(167, 188, 44)
HSLhsl(69, 62%, 45%)
HSVhsv(69, 77%, 74%)
CMYKcmyk(11.2%, 0%, 76.6%, 26.3%)
CIE-LABlab(72.47, -25.11, 64.98)
CIE-LCHlch(72.47, 69.66, 111.12°)
OKLaboklab(75.41% -0.0756 0.1427)
OKLCHoklch(75.41% 0.161 117.9)
XYZxyz(34.3750, 44.3641, 9.1346)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC2C #412CBC
analogous
#BC892C #A7BC2C #5FBC2C
triadic
#A7BC2C #2CA7BC #BC2CA7
tetradic
#A7BC2C #2CBC89 #412CBC #BC2C5F
square
#A7BC2C #2CBC89 #412CBC #BC2C5F
split-complementary
#A7BC2C #2C5FBC #892CBC
monochromatic
#4F5915 #7B8A20 #A7BC2C #C2D64F #D3E181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7BC2C#FFFFFF#000000##000000
##A7BC2C1.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)
#C9B103
Deuteranopia (green-blind)
#C7B239
Tritanopia (blue-blind)
#B1B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc2c;
/* rgb */ color: rgb(167, 188, 44);
/* oklch */ color: oklch(75.4% 0.161 117.9);
Tailwind
colors: {
  custom: {
    50: '#c5d071',
    500: '#a7bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc2c;
$custom-light: #c5d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc2c",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 68.75,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75411,
    "c": 0.16147,
    "h": 117.9
  },
  "luminance": 0.44364
}

Semantic roles & 50–950 ramp

primary
#A7BC2C
secondary
#8579CA
accent
#43E55A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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