#B8B33C#B8B33C

#B8B33C is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.138 H 106.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B8B33C
RGBrgb(184, 179, 60)
HSLhsl(58, 51%, 48%)
HSVhsv(58, 67%, 72%)
CMYKcmyk(0%, 2.7%, 67.4%, 27.8%)
CIE-LABlab(71.39, -12.58, 58.69)
CIE-LCHlch(71.39, 60.02, 102.09°)
OKLaboklab(74.9% -0.0401 0.1316)
OKLCHoklch(74.9% 0.138 106.9)
XYZxyz(36.7042, 42.7580, 10.5938)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B33C #3C41B8
analogous
#B8753C #B8B33C #7FB83C
triadic
#B8B33C #3CB8B3 #B33CB8
tetradic
#B8B33C #3CB875 #3C41B8 #B83C7F
square
#B8B33C #3CB875 #3C41B8 #B83C7F
split-complementary
#B8B33C #3C7FB8 #753CB8
monochromatic
#5C591E #8A862D #B8B33C #CDC865 #DCD993

Accessibility & contrast

On white

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

On black

9.55
#B8B33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B33C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B33C#FFFFFF#000000##000000
##B8B33C1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b33c;
/* rgb */ color: rgb(184, 179, 60);
/* oklch */ color: oklch(74.9% 0.138 106.9);
Tailwind
colors: {
  custom: {
    50: '#d0c978',
    500: '#b8b33c',
    950: '#000000',
  },
}
SCSS
$custom: #b8b33c;
$custom-light: #d0c978;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b33c",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 57.581,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74904,
    "c": 0.13759,
    "h": 106.9
  },
  "luminance": 0.42757
}

Semantic roles & 50–950 ramp

primary
#B8B33C
secondary
#898BC7
accent
#53DA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B33C

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

Preview Lab → · Contrast checker → · Palette generator →

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