#A5BA2E#A5BA2E

#A5BA2E 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#A5BA2E
RGBrgb(165, 186, 46)
HSLhsl(69, 60%, 45%)
HSVhsv(69, 75%, 73%)
CMYKcmyk(11.3%, 0%, 75.3%, 27.1%)
CIE-LABlab(71.77, -24.88, 63.64)
CIE-LCHlch(71.77, 68.33, 111.35°)
OKLaboklab(74.81% -0.0746 0.1403)
OKLCHoklch(74.81% 0.159 118)
XYZxyz(33.5699, 43.3147, 9.1764)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA2E #432EBA
analogous
#BA892E #A5BA2E #5FBA2E
triadic
#A5BA2E #2EA5BA #BA2EA5
tetradic
#A5BA2E #2EBA89 #432EBA #BA2E5F
square
#A5BA2E #2EBA89 #432EBA #BA2E5F
split-complementary
#A5BA2E #2E5FBA #892EBA
monochromatic
#4E5816 #798922 #A5BA2E #C0D451 #D2E082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BA2E#FFFFFF#000000##000000
##A5BA2E1.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)
#C7B00C
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba2e;
/* rgb */ color: rgb(165, 186, 46);
/* oklch */ color: oklch(74.8% 0.159 118.0);
Tailwind
colors: {
  custom: {
    50: '#c3ce72',
    500: '#a5ba2e',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba2e;
$custom-light: #c3ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba2e",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 69,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74812,
    "c": 0.1589,
    "h": 118
  },
  "luminance": 0.43314
}

Semantic roles & 50–950 ramp

primary
#A5BA2E
secondary
#867BC9
accent
#44E35C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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