#A5BB2F#A5BB2F

#A5BB2F is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.0% C 0.159 H 118.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#A5BB2F
RGBrgb(165, 187, 47)
HSLhsl(69, 60%, 46%)
HSVhsv(69, 75%, 73%)
CMYKcmyk(11.8%, 0%, 74.9%, 26.7%)
CIE-LABlab(72.06, -25.32, 63.58)
CIE-LCHlch(72.06, 68.44, 111.71°)
OKLaboklab(75.05% -0.0758 0.1403)
OKLCHoklch(75.05% 0.159 118.4)
XYZxyz(33.8012, 43.7455, 9.3518)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB2F #452FBB
analogous
#BB8B2F #A5BB2F #5FBB2F
triadic
#A5BB2F #2FA5BB #BB2FA5
tetradic
#A5BB2F #2FBB8B #452FBB #BB2F5F
square
#A5BB2F #2FBB8B #452FBB #BB2F5F
split-complementary
#A5BB2F #2F5FBB #8B2FBB
monochromatic
#4F5916 #7A8A23 #A5BB2F #C0D453 #D2E084

Accessibility & contrast

On white

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

On black

9.75
#A5BB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB2F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB2F#FFFFFF#000000##000000
##A5BB2F1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B00E
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#AFB1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bb2f;
/* rgb */ color: rgb(165, 187, 47);
/* oklch */ color: oklch(75.0% 0.159 118.4);
Tailwind
colors: {
  custom: {
    50: '#c3cf72',
    500: '#a5bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb2f;
$custom-light: #c3cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb2f",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 69.429,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75047,
    "c": 0.15948,
    "h": 118.4
  },
  "luminance": 0.43745
}

Semantic roles & 50–950 ramp

primary
#A5BB2F
secondary
#887CC9
accent
#45E35E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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