#B7B33C#B7B33C

#B7B33C is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.138 H 107.4°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B7B33C
RGBrgb(183, 179, 60)
HSLhsl(58, 51%, 48%)
HSVhsv(58, 67%, 72%)
CMYKcmyk(0%, 2.2%, 67.2%, 28.2%)
CIE-LABlab(71.31, -13.00, 58.57)
CIE-LCHlch(71.31, 60.00, 102.52°)
OKLaboklab(74.82% -0.0412 0.1314)
OKLCHoklch(74.82% 0.138 107.4)
XYZxyz(36.4655, 42.6349, 10.5826)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B33C #3C40B7
analogous
#B7763C #B7B33C #7DB73C
triadic
#B7B33C #3CB7B3 #B33CB7
tetradic
#B7B33C #3CB776 #3C40B7 #B73C7D
square
#B7B33C #3CB776 #3C40B7 #B73C7D
split-complementary
#B7B33C #3C7DB7 #763CB7
monochromatic
#5B591E #89862D #B7B33C #CCC964 #DBD992

Accessibility & contrast

On white

2.20
#B7B33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B7B33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B33C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B33C#FFFFFF#000000##000000
##B7B33C1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2B
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#C4A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b7b33c;
/* rgb */ color: rgb(183, 179, 60);
/* oklch */ color: oklch(74.8% 0.138 107.4);
Tailwind
colors: {
  custom: {
    50: '#d0c978',
    500: '#b7b33c',
    950: '#000000',
  },
}
SCSS
$custom: #b7b33c;
$custom-light: #d0c978;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b33c",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 58.049,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74817,
    "c": 0.13774,
    "h": 107.4
  },
  "luminance": 0.42634
}

Semantic roles & 50–950 ramp

primary
#B7B33C
secondary
#888AC6
accent
#52DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B33C

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

Preview Lab → · Contrast checker → · Palette generator →

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