#B5A235#B5A235

#B5A235 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.127 H 99.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B5A235
RGBrgb(181, 162, 53)
HSLhsl(51, 55%, 46%)
HSVhsv(51, 71%, 71%)
CMYKcmyk(0%, 10.5%, 70.7%, 29%)
CIE-LABlab(66.46, -5.37, 56.42)
CIE-LCHlch(66.46, 56.67, 95.43°)
OKLaboklab(70.91% -0.0202 0.1257)
OKLCHoklch(70.91% 0.127 99.1)
XYZxyz(32.6205, 35.9230, 8.5831)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A235 #3548B5
analogous
#B56235 #B5A235 #88B535
triadic
#B5A235 #35B5A2 #A235B5
tetradic
#B5A235 #35B562 #3548B5 #B53588
square
#B5A235 #35B562 #3548B5 #B53588
split-complementary
#B5A235 #3588B5 #6235B5
monochromatic
#564D19 #867827 #B5A235 #CEBD59 #DCD088

Accessibility & contrast

On white

2.57
#B5A235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B5A235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A235
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A235#FFFFFF#000000##000000
##B5A2351.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E25
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#C3968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a235;
/* rgb */ color: rgb(181, 162, 53);
/* oklch */ color: oklch(70.9% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#cfbd73',
    500: '#b5a235',
    950: '#000000',
  },
}
SCSS
$custom: #b5a235;
$custom-light: #cfbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a235",
  "rgb": {
    "r": 181,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 51.094,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.12735,
    "h": 99.1
  },
  "luminance": 0.35921
}

Semantic roles & 50–950 ramp

primary
#B5A235
secondary
#808AC6
accent
#60DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A235

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

Preview Lab → · Contrast checker → · Palette generator →

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