#A5B023#A5B023

#A5B023 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.153 H 114.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A5B023
RGBrgb(165, 176, 35)
HSLhsl(65, 67%, 41%)
HSVhsv(65, 80%, 69%)
CMYKcmyk(6.2%, 0%, 80.1%, 31%)
CIE-LABlab(68.88, -20.39, 64.36)
CIE-LCHlch(68.88, 67.51, 107.58°)
OKLaboklab(72.47% -0.0631 0.1399)
OKLCHoklch(72.47% 0.153 114.3)
XYZxyz(31.3467, 39.1720, 7.4994)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B023 #2E23B0
analogous
#B07523 #A5B023 #5FB023
triadic
#A5B023 #23A5B0 #B023A5
tetradic
#A5B023 #23B075 #2E23B0 #B0235F
square
#A5B023 #23B075 #2E23B0 #B0235F
split-complementary
#A5B023 #235FB0 #7523B0
monochromatic
#454A0F #757D19 #A5B023 #CBD839 #D8E26C

Accessibility & contrast

On white

2.38
#A5B023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A5B023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B023
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B023#FFFFFF#000000##000000
##A5B0231.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDA931
Tritanopia (blue-blind)
#B0A596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b023;
/* rgb */ color: rgb(165, 176, 35);
/* oklch */ color: oklch(72.5% 0.153 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c76c',
    500: '#a5b023',
    950: '#000000',
  },
}
SCSS
$custom: #a5b023;
$custom-light: #c3c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b023",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 64.681,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72471,
    "c": 0.15346,
    "h": 114.3
  },
  "luminance": 0.39171
}

Semantic roles & 50–950 ramp

primary
#A5B023
secondary
#6F67C8
accent
#3EEA4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B023

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

Preview Lab → · Contrast checker → · Palette generator →

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