#B7B33F#B7B33F

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

Color values

HEX#B7B33F
RGBrgb(183, 179, 63)
HSLhsl(58, 49%, 48%)
HSVhsv(58, 66%, 72%)
CMYKcmyk(0%, 2.2%, 65.6%, 28.2%)
CIE-LABlab(71.33, -12.83, 57.38)
CIE-LCHlch(71.33, 58.80, 102.60°)
OKLaboklab(74.84% -0.0404 0.1294)
OKLCHoklch(74.84% 0.136 107.3)
XYZxyz(36.5470, 42.6675, 11.0122)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B33F #3F43B7
analogous
#B7773F #B7B33F #7FB73F
triadic
#B7B33F #3FB7B3 #B33FB7
tetradic
#B7B33F #3FB777 #3F43B7 #B73F7F
square
#B7B33F #3FB777 #3F43B7 #B73F7F
split-complementary
#B7B33F #3F7FB7 #773FB7
monochromatic
#5C5A20 #89862F #B7B33F #CBC868 #DBD896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B33F#FFFFFF#000000##000000
##B7B33F1.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)
#C2AC2F
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#C4A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b7b33f;
/* rgb */ color: rgb(183, 179, 63);
/* oklch */ color: oklch(74.8% 0.136 107.3);
Tailwind
colors: {
  custom: {
    50: '#d0c97a',
    500: '#b7b33f',
    950: '#000000',
  },
}
SCSS
$custom: #b7b33f;
$custom-light: #d0c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b33f",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 58,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74842,
    "c": 0.13556,
    "h": 107.3
  },
  "luminance": 0.42666
}

Semantic roles & 50–950 ramp

primary
#B7B33F
secondary
#8B8DC6
accent
#54D84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7B33F

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

Preview Lab → · Contrast checker → · Palette generator →

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