#A5B643#A5B643

#A5B643 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.1% C 0.140 H 117.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#A5B643
RGBrgb(165, 182, 67)
HSLhsl(69, 46%, 49%)
HSVhsv(69, 63%, 71%)
CMYKcmyk(9.3%, 0%, 63.2%, 28.6%)
CIE-LABlab(70.77, -21.69, 54.70)
CIE-LCHlch(70.77, 58.84, 111.63°)
OKLaboklab(74.06% -0.0638 0.1248)
OKLCHoklch(74.06% 0.14 117.1)
XYZxyz(33.2588, 41.8608, 11.6370)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B643 #5443B6
analogous
#B68E43 #A5B643 #6CB643
triadic
#A5B643 #43A5B6 #B643A5
tetradic
#A5B643 #43B68E #5443B6 #B6436C
square
#A5B643 #43B68E #5443B6 #B6436C
split-complementary
#A5B643 #436CB6 #8E43B6
monochromatic
#545D22 #7C8933 #A5B643 #BCC96D #D0DA9A

Accessibility & contrast

On white

2.24
#A5B643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#A5B643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B643
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B643#FFFFFF#000000##000000
##A5B6431.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD35
Deuteranopia (green-blind)
#C0AE4B
Tritanopia (blue-blind)
#AFAC9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b643;
/* rgb */ color: rgb(165, 182, 67);
/* oklch */ color: oklch(74.1% 0.140 117.1);
Tailwind
colors: {
  custom: {
    50: '#c2cb7c',
    500: '#a5b643',
    950: '#000000',
  },
}
SCSS
$custom: #a5b643;
$custom-light: #c2cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b643",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 68.87,
    "s": 46.185,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74059,
    "c": 0.14015,
    "h": 117.1
  },
  "luminance": 0.4186
}

Semantic roles & 50–950 ramp

primary
#A5B643
secondary
#978FC6
accent
#52D665
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B643

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

Preview Lab → · Contrast checker → · Palette generator →

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