#A7BC2E#A7BC2E

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

Color values

HEX#A7BC2E
RGBrgb(167, 188, 46)
HSLhsl(69, 61%, 46%)
HSVhsv(69, 76%, 74%)
CMYKcmyk(11.2%, 0%, 75.5%, 26.3%)
CIE-LABlab(72.48, -25.02, 64.36)
CIE-LCHlch(72.48, 69.05, 111.24°)
OKLaboklab(75.42% -0.0751 0.1417)
OKLCHoklch(75.42% 0.16 117.9)
XYZxyz(34.4135, 44.3795, 9.3374)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC2E #432EBC
analogous
#BC8A2E #A7BC2E #60BC2E
triadic
#A7BC2E #2EA7BC #BC2EA7
tetradic
#A7BC2E #2EBC8A #432EBC #BC2E60
square
#A7BC2E #2EBC8A #432EBC #BC2E60
split-complementary
#A7BC2E #2E60BC #8A2EBC
monochromatic
#505A16 #7B8B22 #A7BC2E #C1D552 #D3E184

Accessibility & contrast

On white

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

On black

9.88
#A7BC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BC2E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BC2E#FFFFFF#000000##000000
##A7BC2E1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B10A
Deuteranopia (green-blind)
#C7B23B
Tritanopia (blue-blind)
#B1B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc2e;
/* rgb */ color: rgb(167, 188, 46);
/* oklch */ color: oklch(75.4% 0.160 117.9);
Tailwind
colors: {
  custom: {
    50: '#c5d072',
    500: '#a7bc2e',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc2e;
$custom-light: #c5d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc2e",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 68.873,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.16042,
    "h": 117.9
  },
  "luminance": 0.44379
}

Semantic roles & 50–950 ramp

primary
#A7BC2E
secondary
#877CCA
accent
#44E45C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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