#B5A435#B5A435

#B5A435 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.129 H 100.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B5A435
RGBrgb(181, 164, 53)
HSLhsl(52, 55%, 46%)
HSVhsv(52, 71%, 71%)
CMYKcmyk(0%, 9.4%, 70.7%, 29%)
CIE-LABlab(67.00, -6.43, 56.96)
CIE-LCHlch(67.00, 57.32, 96.44°)
OKLaboklab(71.33% -0.0233 0.1269)
OKLCHoklch(71.33% 0.129 100.4)
XYZxyz(32.9756, 36.6332, 8.7014)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A435 #3546B5
analogous
#B56435 #B5A435 #86B535
triadic
#B5A435 #35B5A4 #A435B5
tetradic
#B5A435 #35B564 #3546B5 #B53586
square
#B5A435 #35B564 #3546B5 #B53586
split-complementary
#B5A435 #3586B5 #6435B5
monochromatic
#564E19 #867927 #B5A435 #CEBF59 #DCD188

Accessibility & contrast

On white

2.52
#B5A435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B5A435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A435
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A435#FFFFFF#000000##000000
##B5A4351.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F24
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#C3988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b5a435;
/* rgb */ color: rgb(181, 164, 53);
/* oklch */ color: oklch(71.3% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#cfbe73',
    500: '#b5a435',
    950: '#000000',
  },
}
SCSS
$custom: #b5a435;
$custom-light: #cfbe73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a435",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 53
  },
  "hsl": {
    "h": 52.031,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71334,
    "c": 0.12898,
    "h": 100.4
  },
  "luminance": 0.36632
}

Semantic roles & 50–950 ramp

primary
#B5A435
secondary
#8089C6
accent
#5DDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A435

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

Preview Lab → · Contrast checker → · Palette generator →

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