#A5BB1F#A5BB1F

#A5BB1F is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.167 H 118.1°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#A5BB1F
RGBrgb(165, 187, 31)
HSLhsl(68, 72%, 43%)
HSVhsv(68, 83%, 73%)
CMYKcmyk(11.8%, 0%, 83.4%, 26.7%)
CIE-LABlab(71.99, -25.94, 68.10)
CIE-LCHlch(71.99, 72.87, 110.85°)
OKLaboklab(74.97% -0.0786 0.1472)
OKLCHoklch(74.97% 0.167 118.1)
XYZxyz(33.5355, 43.6392, 7.9526)
Luminance0.4364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB1F #351FBB
analogous
#BB831F #A5BB1F #57BB1F
triadic
#A5BB1F #1FA5BB #BB1FA5
tetradic
#A5BB1F #1FBB83 #351FBB #BB1F57
square
#A5BB1F #1FBB83 #351FBB #BB1F57
split-complementary
#A5BB1F #1F57BB #831FBB
monochromatic
#48520E #778716 #A5BB1F #C7DE39 #D6E76E

Accessibility & contrast

On white

2.16
#A5BB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#A5BB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB1F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB1F#FFFFFF#000000##000000
##A5BB1F1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B131
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5bb1f;
/* rgb */ color: rgb(165, 187, 31);
/* oklch */ color: oklch(75.0% 0.167 118.1);
Tailwind
colors: {
  custom: {
    50: '#c4cf6c',
    500: '#a5bb1f',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb1f;
$custom-light: #c4cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb1f",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 31
  },
  "hsl": {
    "h": 68.462,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.74967,
    "c": 0.16693,
    "h": 118.1
  },
  "luminance": 0.43639
}

Semantic roles & 50–950 ramp

primary
#A5BB1F
secondary
#7769CD
accent
#3AEE53
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5BB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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