#A5B638#A5B638

#A5B638 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.0% C 0.148 H 116.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#A5B638
RGBrgb(165, 182, 56)
HSLhsl(68, 53%, 47%)
HSVhsv(68, 69%, 71%)
CMYKcmyk(9.3%, 0%, 69.2%, 28.6%)
CIE-LABlab(70.69, -22.39, 59.05)
CIE-LCHlch(70.69, 63.15, 110.77°)
OKLaboklab(73.97% -0.0669 0.1323)
OKLCHoklch(73.97% 0.148 116.8)
XYZxyz(32.9596, 41.7412, 10.0612)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B638 #4938B6
analogous
#B68838 #A5B638 #66B638
triadic
#A5B638 #38A5B6 #B638A5
tetradic
#A5B638 #38B688 #4938B6 #B63866
square
#A5B638 #38B688 #4938B6 #B63866
split-complementary
#A5B638 #3866B6 #8838B6
monochromatic
#50581B #7B872A #A5B638 #BECD5E #D1DC8D

Accessibility & contrast

On white

2.25
#A5B638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#A5B638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B638
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B638#FFFFFF#000000##000000
##A5B6381.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC24
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#AFAC9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b638;
/* rgb */ color: rgb(165, 182, 56);
/* oklch */ color: oklch(74.0% 0.148 116.8);
Tailwind
colors: {
  custom: {
    50: '#c3cb76',
    500: '#a5b638',
    950: '#000000',
  },
}
SCSS
$custom: #a5b638;
$custom-light: #c3cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b638",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 56
  },
  "hsl": {
    "h": 68.095,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73966,
    "c": 0.14823,
    "h": 116.8
  },
  "luminance": 0.41741
}

Semantic roles & 50–950 ramp

primary
#A5B638
secondary
#8D84C6
accent
#4BDC5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B638

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

Preview Lab → · Contrast checker → · Palette generator →

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