#A5BC30#A5BC30

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

Color values

HEX#A5BC30
RGBrgb(165, 188, 48)
HSLhsl(70, 59%, 46%)
HSVhsv(70, 74%, 74%)
CMYKcmyk(12.2%, 0%, 74.5%, 26.3%)
CIE-LABlab(72.35, -25.76, 63.52)
CIE-LCHlch(72.35, 68.55, 112.07°)
OKLaboklab(75.28% -0.0769 0.1404)
OKLCHoklch(75.28% 0.16 118.7)
XYZxyz(34.0345, 44.1794, 9.5303)
Luminance0.4418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC30 #4730BC
analogous
#BC8D30 #A5BC30 #5FBC30
triadic
#A5BC30 #30A5BC #BC30A5
tetradic
#A5BC30 #30BC8D #4730BC #BC305F
square
#A5BC30 #30BC8D #4730BC #BC305F
split-complementary
#A5BC30 #305FBC #8D30BC
monochromatic
#4F5A17 #7A8B24 #A5BC30 #BFD455 #D1E086

Accessibility & contrast

On white

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

On black

9.84
#A5BC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BC30
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BC30#FFFFFF#000000##000000
##A5BC301.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5bc30;
/* rgb */ color: rgb(165, 188, 48);
/* oklch */ color: oklch(75.3% 0.160 118.7);
Tailwind
colors: {
  custom: {
    50: '#c3d073',
    500: '#a5bc30',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc30;
$custom-light: #c3d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc30",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 48
  },
  "hsl": {
    "h": 69.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75282,
    "c": 0.16005,
    "h": 118.7
  },
  "luminance": 0.44179
}

Semantic roles & 50–950 ramp

primary
#A5BC30
secondary
#8B7ECA
accent
#45E35F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BC30

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

Preview Lab → · Contrast checker → · Palette generator →

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