#B3A733#B3A733

#B3A733 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.133 H 103.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B3A733
RGBrgb(179, 167, 51)
HSLhsl(54, 56%, 45%)
HSVhsv(54, 72%, 70%)
CMYKcmyk(0%, 6.7%, 71.5%, 29.8%)
CIE-LABlab(67.62, -8.99, 58.29)
CIE-LCHlch(67.62, 58.98, 98.77°)
OKLaboklab(71.78% -0.0306 0.1294)
OKLCHoklch(71.78% 0.133 103.3)
XYZxyz(33.0081, 37.4615, 8.6234)
Luminance0.3746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A733 #333FB3
analogous
#B36733 #B3A733 #7FB333
triadic
#B3A733 #33B3A7 #A733B3
tetradic
#B3A733 #33B367 #333FB3 #B3337F
square
#B3A733 #33B367 #333FB3 #B3337F
split-complementary
#B3A733 #337FB3 #6733B3
monochromatic
#544E18 #837B25 #B3A733 #CEC355 #DCD484

Accessibility & contrast

On white

2.47
#B3A733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B3A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A733
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A733#FFFFFF#000000##000000
##B3A7331.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A120
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#C19B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a733;
/* rgb */ color: rgb(179, 167, 51);
/* oklch */ color: oklch(71.8% 0.133 103.3);
Tailwind
colors: {
  custom: {
    50: '#cdc072',
    500: '#b3a733',
    950: '#000000',
  },
}
SCSS
$custom: #b3a733;
$custom-light: #cdc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a733",
  "rgb": {
    "r": 179,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 54.375,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7178,
    "c": 0.13295,
    "h": 103.3
  },
  "luminance": 0.3746
}

Semantic roles & 50–950 ramp

primary
#B3A733
secondary
#7C83C6
accent
#57DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A733

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

Preview Lab → · Contrast checker → · Palette generator →

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