#B5B94C#B5B94C

#B5B94C is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.132 H 111.1°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#B5B94C
RGBrgb(181, 185, 76)
HSLhsl(62, 44%, 51%)
HSVhsv(62, 59%, 73%)
CMYKcmyk(2.2%, 0%, 58.9%, 27.5%)
CIE-LABlab(72.92, -15.88, 53.48)
CIE-LCHlch(72.92, 55.78, 106.54°)
OKLaboklab(76.11% -0.0475 0.123)
OKLCHoklch(76.11% 0.132 111.1)
XYZxyz(37.7105, 45.0444, 13.5440)
Luminance0.4504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B94C #504CB9
analogous
#B9864C #B5B94C #7EB94C
triadic
#B5B94C #4CB5B9 #B94CB5
tetradic
#B5B94C #4CB986 #504CB9 #B94C7E
square
#B5B94C #4CB986 #504CB9 #B94C7E
split-complementary
#B5B94C #4C7EB9 #864CB9
monochromatic
#616427 #8C9038 #B5B94C #C7CA78 #D9DBA4

Accessibility & contrast

On white

2.10
#B5B94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#B5B94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B94C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B94C#FFFFFF#000000##000000
##B5B94C1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B140
Deuteranopia (green-blind)
#C7B452
Tritanopia (blue-blind)
#C0AFA2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5b94c;
/* rgb */ color: rgb(181, 185, 76);
/* oklch */ color: oklch(76.1% 0.132 111.1);
Tailwind
colors: {
  custom: {
    50: '#cecd82',
    500: '#b5b94c',
    950: '#000000',
  },
}
SCSS
$custom: #b5b94c;
$custom-light: #cecd82;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b94c",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 76
  },
  "hsl": {
    "h": 62.202,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76107,
    "c": 0.13189,
    "h": 111.1
  },
  "luminance": 0.45043
}

Semantic roles & 50–950 ramp

primary
#B5B94C
secondary
#9A98C8
accent
#54D459
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5B94C

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

Preview Lab → · Contrast checker → · Palette generator →

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