#A5B438#A5B438

#A5B438 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.146 H 116.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A5B438
RGBrgb(165, 180, 56)
HSLhsl(67, 53%, 46%)
HSVhsv(67, 69%, 71%)
CMYKcmyk(8.3%, 0%, 68.9%, 29.4%)
CIE-LABlab(70.13, -21.40, 58.48)
CIE-LCHlch(70.13, 62.27, 110.10°)
OKLaboklab(73.51% -0.0641 0.1311)
OKLCHoklch(73.51% 0.146 116.1)
XYZxyz(32.5529, 40.9278, 9.9256)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B438 #4738B4
analogous
#B48538 #A5B438 #67B438
triadic
#A5B438 #38A5B4 #B438A5
tetradic
#A5B438 #38B485 #4738B4 #B43867
square
#A5B438 #38B485 #4738B4 #B43867
split-complementary
#A5B438 #3867B4 #8538B4
monochromatic
#4F571B #7A8529 #A5B438 #BFCD5D #D1DB8B

Accessibility & contrast

On white

2.29
#A5B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A5B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B438
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B438#FFFFFF#000000##000000
##A5B4381.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB25
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#AFAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b438;
/* rgb */ color: rgb(165, 180, 56);
/* oklch */ color: oklch(73.5% 0.146 116.1);
Tailwind
colors: {
  custom: {
    50: '#c3ca76',
    500: '#a5b438',
    950: '#000000',
  },
}
SCSS
$custom: #a5b438;
$custom-light: #c3ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b438",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 67.258,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73511,
    "c": 0.14592,
    "h": 116.1
  },
  "luminance": 0.40927
}

Semantic roles & 50–950 ramp

primary
#A5B438
secondary
#8B82C5
accent
#4CDC5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B438

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

Preview Lab → · Contrast checker → · Palette generator →

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