#A7BC2D#A7BC2D

#A7BC2D 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#A7BC2D
RGBrgb(167, 188, 45)
HSLhsl(69, 61%, 46%)
HSVhsv(69, 76%, 74%)
CMYKcmyk(11.2%, 0%, 76.1%, 26.3%)
CIE-LABlab(72.48, -25.06, 64.67)
CIE-LCHlch(72.48, 69.36, 111.18°)
OKLaboklab(75.42% -0.0753 0.1422)
OKLCHoklch(75.42% 0.161 117.9)
XYZxyz(34.3940, 44.3717, 9.2348)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC2D #422DBC
analogous
#BC892D #A7BC2D #60BC2D
triadic
#A7BC2D #2DA7BC #BC2DA7
tetradic
#A7BC2D #2DBC89 #422DBC #BC2D60
square
#A7BC2D #2DBC89 #422DBC #BC2D60
split-complementary
#A7BC2D #2D60BC #892DBC
monochromatic
#4F5915 #7B8B21 #A7BC2D #C2D551 #D3E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7BC2D#FFFFFF#000000##000000
##A7BC2D1.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)
#C9B106
Deuteranopia (green-blind)
#C7B23A
Tritanopia (blue-blind)
#B1B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc2d;
/* rgb */ color: rgb(167, 188, 45);
/* oklch */ color: oklch(75.4% 0.161 117.9);
Tailwind
colors: {
  custom: {
    50: '#c5d072',
    500: '#a7bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc2d;
$custom-light: #c5d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc2d",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 68.811,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75416,
    "c": 0.16094,
    "h": 117.9
  },
  "luminance": 0.44371
}

Semantic roles & 50–950 ramp

primary
#A7BC2D
secondary
#867BCA
accent
#43E45B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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