#A7BB2D#A7BB2D

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

Color values

HEX#A7BB2D
RGBrgb(167, 187, 45)
HSLhsl(68, 61%, 45%)
HSVhsv(68, 76%, 73%)
CMYKcmyk(10.7%, 0%, 75.9%, 26.7%)
CIE-LABlab(72.19, -24.57, 64.41)
CIE-LCHlch(72.19, 68.94, 110.88°)
OKLaboklab(75.19% -0.074 0.1417)
OKLCHoklch(75.19% 0.16 117.6)
XYZxyz(34.1812, 43.9460, 9.1639)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BB2D #412DBB
analogous
#BB882D #A7BB2D #60BB2D
triadic
#A7BB2D #2DA7BB #BB2DA7
tetradic
#A7BB2D #2DBB88 #412DBB #BB2D60
square
#A7BB2D #2DBB88 #412DBB #BB2D60
split-complementary
#A7BB2D #2D60BB #882DBB
monochromatic
#4F5815 #7B8A21 #A7BB2D #C2D550 #D3E182

Accessibility & contrast

On white

2.15
#A7BB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7BB2D#FFFFFF#000000##000000
##A7BB2D1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B107
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#B1B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a7bb2d;
/* rgb */ color: rgb(167, 187, 45);
/* oklch */ color: oklch(75.2% 0.160 117.6);
Tailwind
colors: {
  custom: {
    50: '#c5cf71',
    500: '#a7bb2d',
    950: '#000000',
  },
}
SCSS
$custom: #a7bb2d;
$custom-light: #c5cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bb2d",
  "rgb": {
    "r": 167,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 68.451,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75188,
    "c": 0.15982,
    "h": 117.6
  },
  "luminance": 0.43946
}

Semantic roles & 50–950 ramp

primary
#A7BB2D
secondary
#857ACA
accent
#43E45A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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