#A7BB2F#A7BB2F

#A7BB2F is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.2% C 0.159 H 117.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#A7BB2F
RGBrgb(167, 187, 47)
HSLhsl(69, 60%, 46%)
HSVhsv(69, 75%, 73%)
CMYKcmyk(10.7%, 0%, 74.9%, 26.7%)
CIE-LABlab(72.20, -24.48, 63.77)
CIE-LCHlch(72.20, 68.31, 111.00°)
OKLaboklab(75.2% -0.0736 0.1407)
OKLCHoklch(75.2% 0.159 117.6)
XYZxyz(34.2206, 43.9617, 9.3715)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BB2F #432FBB
analogous
#BB892F #A7BB2F #61BB2F
triadic
#A7BB2F #2FA7BB #BB2FA7
tetradic
#A7BB2F #2FBB89 #432FBB #BB2F61
square
#A7BB2F #2FBB89 #432FBB #BB2F61
split-complementary
#A7BB2F #2F61BB #892FBB
monochromatic
#505916 #7B8A23 #A7BB2F #C1D453 #D3E084

Accessibility & contrast

On white

2.14
#A7BB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#A7BB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BB2F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BB2F#FFFFFF#000000##000000
##A7BB2F1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10E
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#B1B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a7bb2f;
/* rgb */ color: rgb(167, 187, 47);
/* oklch */ color: oklch(75.2% 0.159 117.6);
Tailwind
colors: {
  custom: {
    50: '#c5cf72',
    500: '#a7bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #a7bb2f;
$custom-light: #c5cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bb2f",
  "rgb": {
    "r": 167,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 68.571,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.752,
    "c": 0.15875,
    "h": 117.6
  },
  "luminance": 0.43961
}

Semantic roles & 50–950 ramp

primary
#A7BB2F
secondary
#877CC9
accent
#45E35B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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