#A5BA2D#A5BA2D

#A5BA2D is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.159 H 118.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#A5BA2D
RGBrgb(165, 186, 45)
HSLhsl(69, 61%, 45%)
HSVhsv(69, 76%, 73%)
CMYKcmyk(11.3%, 0%, 75.8%, 27.1%)
CIE-LABlab(71.76, -24.92, 63.96)
CIE-LCHlch(71.76, 68.64, 111.29°)
OKLaboklab(74.81% -0.0749 0.1408)
OKLCHoklch(74.81% 0.159 118)
XYZxyz(33.5504, 43.3069, 9.0738)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA2D #422DBA
analogous
#BA882D #A5BA2D #5FBA2D
triadic
#A5BA2D #2DA5BA #BA2DA5
tetradic
#A5BA2D #2DBA88 #422DBA #BA2D5F
square
#A5BA2D #2DBA88 #422DBA #BA2D5F
split-complementary
#A5BA2D #2D5FBA #882DBA
monochromatic
#4E5715 #798921 #A5BA2D #C1D550 #D2E081

Accessibility & contrast

On white

2.17
#A5BA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#A5BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BA2D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BA2D#FFFFFF#000000##000000
##A5BA2D1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B008
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#AFAFA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba2d;
/* rgb */ color: rgb(165, 186, 45);
/* oklch */ color: oklch(74.8% 0.159 118.0);
Tailwind
colors: {
  custom: {
    50: '#c3ce71',
    500: '#a5ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba2d;
$custom-light: #c3ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba2d",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 68.936,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.15944,
    "h": 118
  },
  "luminance": 0.43307
}

Semantic roles & 50–950 ramp

primary
#A5BA2D
secondary
#8579C9
accent
#44E45C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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