#B7B33A#B7B33A

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

Color values

HEX#B7B33A
RGBrgb(183, 179, 58)
HSLhsl(58, 52%, 47%)
HSVhsv(58, 68%, 72%)
CMYKcmyk(0%, 2.2%, 68.3%, 28.2%)
CIE-LABlab(71.29, -13.12, 59.35)
CIE-LCHlch(71.29, 60.78, 102.46°)
OKLaboklab(74.8% -0.0418 0.1327)
OKLCHoklch(74.8% 0.139 107.5)
XYZxyz(36.4136, 42.6142, 10.3094)
Luminance0.4261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B33A #3A3EB7
analogous
#B7753A #B7B33A #7DB73A
triadic
#B7B33A #3AB7B3 #B33AB7
tetradic
#B7B33A #3AB775 #3A3EB7 #B73A7D
square
#B7B33A #3AB775 #3A3EB7 #B73A7D
split-complementary
#B7B33A #3A7DB7 #753AB7
monochromatic
#5A581D #89862B #B7B33A #CDCA61 #DCD990

Accessibility & contrast

On white

2.21
#B7B33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B7B33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B33A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B33A#FFFFFF#000000##000000
##B7B33A1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC28
Deuteranopia (green-blind)
#C4B142
Tritanopia (blue-blind)
#C4A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b7b33a;
/* rgb */ color: rgb(183, 179, 58);
/* oklch */ color: oklch(74.8% 0.139 107.5);
Tailwind
colors: {
  custom: {
    50: '#d0c977',
    500: '#b7b33a',
    950: '#000000',
  },
}
SCSS
$custom: #b7b33a;
$custom-light: #d0c977;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b33a",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 58.08,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74801,
    "c": 0.13913,
    "h": 107.5
  },
  "luminance": 0.42613
}

Semantic roles & 50–950 ramp

primary
#B7B33A
secondary
#8688C7
accent
#51DB4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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