#A7BC38#A7BC38

#A7BC38 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.5% C 0.154 H 118.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#A7BC38
RGBrgb(167, 188, 56)
HSLhsl(70, 54%, 48%)
HSVhsv(70, 70%, 74%)
CMYKcmyk(11.2%, 0%, 70.2%, 26.3%)
CIE-LABlab(72.54, -24.51, 60.94)
CIE-LCHlch(72.54, 65.69, 111.91°)
OKLaboklab(75.49% -0.0729 0.1362)
OKLCHoklch(75.49% 0.154 118.1)
XYZxyz(34.6341, 44.4678, 10.4992)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC38 #4D38BC
analogous
#BC8F38 #A7BC38 #65BC38
triadic
#A7BC38 #38A7BC #BC38A7
tetradic
#A7BC38 #38BC8F #4D38BC #BC3865
square
#A7BC38 #38BC8F #4D38BC #BC3865
split-complementary
#A7BC38 #3865BC #8F38BC
monochromatic
#535E1C #7D8D2A #A7BC38 #BED061 #D2DE90

Accessibility & contrast

On white

2.12
#A7BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#A7BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BC38
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BC38#FFFFFF#000000##000000
##A7BC381.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B222
Deuteranopia (green-blind)
#C6B343
Tritanopia (blue-blind)
#B1B2A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc38;
/* rgb */ color: rgb(167, 188, 56);
/* oklch */ color: oklch(75.5% 0.154 118.1);
Tailwind
colors: {
  custom: {
    50: '#c4d077',
    500: '#a7bc38',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc38;
$custom-light: #c4d077;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc38",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 69.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75488,
    "c": 0.15448,
    "h": 118.1
  },
  "luminance": 0.44467
}

Semantic roles & 50–950 ramp

primary
#A7BC38
secondary
#9187C9
accent
#4ADD62
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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