#A7BB1F#A7BB1F

#A7BB1F is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.1% C 0.166 H 117.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A7BB1F
RGBrgb(167, 187, 31)
HSLhsl(68, 72%, 43%)
HSVhsv(68, 83%, 73%)
CMYKcmyk(10.7%, 0%, 83.4%, 26.7%)
CIE-LABlab(72.13, -25.10, 68.28)
CIE-LCHlch(72.13, 72.75, 110.18°)
OKLaboklab(75.12% -0.0764 0.1475)
OKLCHoklch(75.12% 0.166 117.4)
XYZxyz(33.9549, 43.8555, 7.9723)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BB1F #331FBB
analogous
#BB811F #A7BB1F #59BB1F
triadic
#A7BB1F #1FA7BB #BB1FA7
tetradic
#A7BB1F #1FBB81 #331FBB #BB1F59
square
#A7BB1F #1FBB81 #331FBB #BB1F59
split-complementary
#A7BB1F #1F59BB #811FBB
monochromatic
#49520E #788716 #A7BB1F #C9DE39 #D7E76E

Accessibility & contrast

On white

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

On black

9.77
#A7BB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BB1F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BB1F#FFFFFF#000000##000000
##A7BB1F1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B230
Tritanopia (blue-blind)
#B2B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a7bb1f;
/* rgb */ color: rgb(167, 187, 31);
/* oklch */ color: oklch(75.1% 0.166 117.4);
Tailwind
colors: {
  custom: {
    50: '#c5cf6c',
    500: '#a7bb1f',
    950: '#000000',
  },
}
SCSS
$custom: #a7bb1f;
$custom-light: #c5cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bb1f",
  "rgb": {
    "r": 167,
    "g": 187,
    "b": 31
  },
  "hsl": {
    "h": 67.692,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7512,
    "c": 0.16618,
    "h": 117.4
  },
  "luminance": 0.43855
}

Semantic roles & 50–950 ramp

primary
#A7BB1F
secondary
#7669CD
accent
#3AEE51
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7BB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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