#A5BC2F#A5BC2F

#A5BC2F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.3% C 0.161 H 118.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#A5BC2F
RGBrgb(165, 188, 47)
HSLhsl(70, 60%, 46%)
HSVhsv(70, 75%, 74%)
CMYKcmyk(12.2%, 0%, 75%, 26.3%)
CIE-LABlab(72.34, -25.80, 63.85)
CIE-LCHlch(72.34, 68.87, 112.00°)
OKLaboklab(75.28% -0.0771 0.1409)
OKLCHoklch(75.28% 0.161 118.7)
XYZxyz(34.0141, 44.1713, 9.4228)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC2F #462FBC
analogous
#BC8C2F #A5BC2F #5EBC2F
triadic
#A5BC2F #2FA5BC #BC2FA5
tetradic
#A5BC2F #2FBC8C #462FBC #BC2F5E
square
#A5BC2F #2FBC8C #462FBC #BC2F5E
split-complementary
#A5BC2F #2F5EBC #8C2FBC
monochromatic
#4F5A17 #7A8B23 #A5BC2F #BFD454 #D2E085

Accessibility & contrast

On white

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

On black

9.83
#A5BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BC2F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BC2F#FFFFFF#000000##000000
##A5BC2F1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5bc2f;
/* rgb */ color: rgb(165, 188, 47);
/* oklch */ color: oklch(75.3% 0.161 118.7);
Tailwind
colors: {
  custom: {
    50: '#c3d072',
    500: '#a5bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc2f;
$custom-light: #c3d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc2f",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 69.787,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75276,
    "c": 0.16062,
    "h": 118.7
  },
  "luminance": 0.44171
}

Semantic roles & 50–950 ramp

primary
#A5BC2F
secondary
#897DCA
accent
#45E35F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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