#B7B545#B7B545

#B7B545 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.133 H 108.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B7B545
RGBrgb(183, 181, 69)
HSLhsl(59, 45%, 49%)
HSVhsv(59, 62%, 72%)
CMYKcmyk(0%, 1.1%, 62.3%, 28.2%)
CIE-LABlab(71.92, -13.48, 55.49)
CIE-LCHlch(71.92, 57.11, 103.65°)
OKLaboklab(75.33% -0.0416 0.1263)
OKLCHoklch(75.33% 0.133 108.2)
XYZxyz(37.1277, 43.5458, 12.0785)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B545 #4547B7
analogous
#B77C45 #B7B545 #80B745
triadic
#B7B545 #45B7B5 #B545B7
tetradic
#B7B545 #45B77C #4547B7 #B74580
square
#B7B545 #45B77C #4547B7 #B74580
split-complementary
#B7B545 #4580B7 #7C45B7
monochromatic
#5E5D23 #8B8934 #B7B545 #C9C870 #DAD99D

Accessibility & contrast

On white

2.16
#B7B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B7B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B545
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B545#FFFFFF#000000##000000
##B7B5451.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#C3AA9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7b545;
/* rgb */ color: rgb(183, 181, 69);
/* oklch */ color: oklch(75.3% 0.133 108.2);
Tailwind
colors: {
  custom: {
    50: '#cfca7e',
    500: '#b7b545',
    950: '#000000',
  },
}
SCSS
$custom: #b7b545;
$custom-light: #cfca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b545",
  "rgb": {
    "r": 183,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 58.947,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75331,
    "c": 0.133,
    "h": 108.2
  },
  "luminance": 0.43545
}

Semantic roles & 50–950 ramp

primary
#B7B545
secondary
#9293C6
accent
#55D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7B545

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

Preview Lab → · Contrast checker → · Palette generator →

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