#A5BC2D#A5BC2D

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

Color values

HEX#A5BC2D
RGBrgb(165, 188, 45)
HSLhsl(70, 61%, 46%)
HSVhsv(70, 76%, 74%)
CMYKcmyk(12.2%, 0%, 76.1%, 26.3%)
CIE-LABlab(72.33, -25.89, 64.49)
CIE-LCHlch(72.33, 69.49, 111.88°)
OKLaboklab(75.26% -0.0775 0.1419)
OKLCHoklch(75.26% 0.162 118.7)
XYZxyz(33.9747, 44.1555, 9.2152)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC2D #442DBC
analogous
#BC8B2D #A5BC2D #5EBC2D
triadic
#A5BC2D #2DA5BC #BC2DA5
tetradic
#A5BC2D #2DBC8B #442DBC #BC2D5E
square
#A5BC2D #2DBC8B #442DBC #BC2D5E
split-complementary
#A5BC2D #2D5EBC #8B2DBC
monochromatic
#4E5915 #7A8B21 #A5BC2D #C0D551 #D2E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BC2D#FFFFFF#000000##000000
##A5BC2D1.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)
#C9B106
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#AFB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bc2d;
/* rgb */ color: rgb(165, 188, 45);
/* oklch */ color: oklch(75.3% 0.162 118.7);
Tailwind
colors: {
  custom: {
    50: '#c3d071',
    500: '#a5bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc2d;
$custom-light: #c3d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc2d",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 69.65,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75264,
    "c": 0.16169,
    "h": 118.7
  },
  "luminance": 0.44155
}

Semantic roles & 50–950 ramp

primary
#A5BC2D
secondary
#877BCA
accent
#43E45D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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