#B5A630#B5A630

#B5A630 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.134 H 101.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#B5A630
RGBrgb(181, 166, 48)
HSLhsl(53, 58%, 45%)
HSVhsv(53, 73%, 71%)
CMYKcmyk(0%, 8.3%, 73.5%, 29%)
CIE-LABlab(67.51, -7.73, 59.36)
CIE-LCHlch(67.51, 59.86, 97.42°)
OKLaboklab(71.73% -0.0275 0.131)
OKLCHoklch(71.73% 0.134 101.8)
XYZxyz(33.2273, 37.3111, 8.2473)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A630 #303FB5
analogous
#B56330 #B5A630 #82B530
triadic
#B5A630 #30B5A6 #A630B5
tetradic
#B5A630 #30B563 #303FB5 #B53082
square
#B5A630 #30B563 #303FB5 #B53082
split-complementary
#B5A630 #3082B5 #6330B5
monochromatic
#544D16 #857A23 #B5A630 #D1C351 #DED382

Accessibility & contrast

On white

2.48
#B5A630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#B5A630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A630
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A630#FFFFFF#000000##000000
##B5A6301.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#C39A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a630;
/* rgb */ color: rgb(181, 166, 48);
/* oklch */ color: oklch(71.7% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#cfc071',
    500: '#b5a630',
    950: '#000000',
  },
}
SCSS
$custom: #b5a630;
$custom-light: #cfc071;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a630",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 53.233,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71728,
    "c": 0.13387,
    "h": 101.8
  },
  "luminance": 0.3731
}

Semantic roles & 50–950 ramp

primary
#B5A630
secondary
#7A83C7
accent
#58E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A630

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

Preview Lab → · Contrast checker → · Palette generator →

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