#A7BF38#A7BF38

#A7BF38 is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 76.2% C 0.158 H 119.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#A7BF38
RGBrgb(167, 191, 56)
HSLhsl(71, 55%, 48%)
HSVhsv(71, 71%, 75%)
CMYKcmyk(12.6%, 0%, 70.7%, 25.1%)
CIE-LABlab(73.39, -25.97, 61.79)
CIE-LCHlch(73.39, 67.02, 112.80°)
OKLaboklab(76.17% -0.0769 0.138)
OKLCHoklch(76.17% 0.158 119.1)
XYZxyz(35.2816, 45.7628, 10.7151)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BF38 #5038BF
analogous
#BF9338 #A7BF38 #63BF38
triadic
#A7BF38 #38A7BF #BF38A7
tetradic
#A7BF38 #38BF93 #5038BF #BF3863
square
#A7BF38 #38BF93 #5038BF #BF3863
split-complementary
#A7BF38 #3863BF #9338BF
monochromatic
#54601C #7E902A #A7BF38 #BED163 #D1DF92

Accessibility & contrast

On white

2.07
#A7BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#A7BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BF38
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BF38#FFFFFF#000000##000000
##A7BF381.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#B1B5A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a7bf38;
/* rgb */ color: rgb(167, 191, 56);
/* oklch */ color: oklch(76.2% 0.158 119.1);
Tailwind
colors: {
  custom: {
    50: '#c4d277',
    500: '#a7bf38',
    950: '#000000',
  },
}
SCSS
$custom: #a7bf38;
$custom-light: #c4d277;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bf38",
  "rgb": {
    "r": 167,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 70.667,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76173,
    "c": 0.15796,
    "h": 119.1
  },
  "luminance": 0.45763
}

Semantic roles & 50–950 ramp

primary
#A7BF38
secondary
#9489CA
accent
#4ADE64
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A7BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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