#B3B040#B3B040

#B3B040 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.132 H 107.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B3B040
RGBrgb(179, 176, 64)
HSLhsl(58, 47%, 48%)
HSVhsv(58, 64%, 70%)
CMYKcmyk(0%, 1.7%, 64.2%, 29.8%)
CIE-LABlab(70.18, -12.94, 55.67)
CIE-LCHlch(70.18, 57.15, 103.08°)
OKLaboklab(73.85% -0.0404 0.126)
OKLCHoklch(73.85% 0.132 107.8)
XYZxyz(35.0423, 41.0056, 10.9185)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B040 #4043B3
analogous
#B37740 #B3B040 #7CB340
triadic
#B3B040 #40B3B0 #B040B3
tetradic
#B3B040 #40B377 #4043B3 #B3407C
square
#B3B040 #40B377 #4043B3 #B3407C
split-complementary
#B3B040 #407CB3 #7740B3
monochromatic
#595720 #868430 #B3B040 #C9C667 #D9D794

Accessibility & contrast

On white

2.28
#B3B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#B3B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B040
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B040#FFFFFF#000000##000000
##B3B0401.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#C0AE47
Tritanopia (blue-blind)
#BFA599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b3b040;
/* rgb */ color: rgb(179, 176, 64);
/* oklch */ color: oklch(73.8% 0.132 107.8);
Tailwind
colors: {
  custom: {
    50: '#cdc77a',
    500: '#b3b040',
    950: '#000000',
  },
}
SCSS
$custom: #b3b040;
$custom-light: #cdc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b040",
  "rgb": {
    "r": 179,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 58.435,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73847,
    "c": 0.13235,
    "h": 107.8
  },
  "luminance": 0.41005
}

Semantic roles & 50–950 ramp

primary
#B3B040
secondary
#8A8CC4
accent
#54D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3B040

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

Preview Lab → · Contrast checker → · Palette generator →

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