#B3B231#B3B231

#B3B231 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.145 H 109.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B3B231
RGBrgb(179, 178, 49)
HSLhsl(60, 57%, 45%)
HSVhsv(60, 73%, 70%)
CMYKcmyk(0%, 0.6%, 72.6%, 29.8%)
CIE-LABlab(70.63, -14.78, 61.92)
CIE-LCHlch(70.63, 63.66, 103.43°)
OKLaboklab(74.17% -0.0471 0.1367)
OKLCHoklch(74.17% 0.145 109)
XYZxyz(35.0665, 41.6473, 9.0967)
Luminance0.4165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B231 #3132B3
analogous
#B37131 #B3B231 #73B331
triadic
#B3B231 #31B3B2 #B231B3
tetradic
#B3B231 #31B371 #3132B3 #B33173
square
#B3B231 #31B371 #3132B3 #B33173
split-complementary
#B3B231 #3173B3 #7131B3
monochromatic
#535217 #838224 #B3B231 #D0CF52 #DDDC82

Accessibility & contrast

On white

2.25
#B3B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B3B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B231
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B231#FFFFFF#000000##000000
##B3B2311.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB18
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#C0A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3b231;
/* rgb */ color: rgb(179, 178, 49);
/* oklch */ color: oklch(74.2% 0.145 109.0);
Tailwind
colors: {
  custom: {
    50: '#cdc873',
    500: '#b3b231',
    950: '#000000',
  },
}
SCSS
$custom: #b3b231;
$custom-light: #cdc873;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b231",
  "rgb": {
    "r": 179,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 59.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74171,
    "c": 0.1446,
    "h": 109
  },
  "luminance": 0.41646
}

Semantic roles & 50–950 ramp

primary
#B3B231
secondary
#7A7BC6
accent
#49E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B231

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

Preview Lab → · Contrast checker → · Palette generator →

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