#A7BC2F#A7BC2F

#A7BC2F 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#A7BC2F
RGBrgb(167, 188, 47)
HSLhsl(69, 60%, 46%)
HSVhsv(69, 75%, 74%)
CMYKcmyk(11.2%, 0%, 75%, 26.3%)
CIE-LABlab(72.49, -24.97, 64.04)
CIE-LCHlch(72.49, 68.73, 111.30°)
OKLaboklab(75.43% -0.0749 0.1412)
OKLCHoklch(75.43% 0.16 117.9)
XYZxyz(34.4335, 44.3875, 9.4425)
Luminance0.4439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC2F #442FBC
analogous
#BC8A2F #A7BC2F #60BC2F
triadic
#A7BC2F #2FA7BC #BC2FA7
tetradic
#A7BC2F #2FBC8A #442FBC #BC2F60
square
#A7BC2F #2FBC8A #442FBC #BC2F60
split-complementary
#A7BC2F #2F60BC #8A2FBC
monochromatic
#505A17 #7C8B23 #A7BC2F #C1D454 #D3E085

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7BC2F#FFFFFF#000000##000000
##A7BC2F1.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)
#C9B20E
Deuteranopia (green-blind)
#C7B23C
Tritanopia (blue-blind)
#B1B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc2f;
/* rgb */ color: rgb(167, 188, 47);
/* oklch */ color: oklch(75.4% 0.160 117.9);
Tailwind
colors: {
  custom: {
    50: '#c5d072',
    500: '#a7bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc2f;
$custom-light: #c5d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc2f",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 68.936,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75428,
    "c": 0.15987,
    "h": 117.9
  },
  "luminance": 0.44387
}

Semantic roles & 50–950 ramp

primary
#A7BC2F
secondary
#887DCA
accent
#45E35C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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