#B3B440#B3B440

#B3B440 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.137 H 109.8°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B3B440
RGBrgb(179, 180, 64)
HSLhsl(61, 48%, 48%)
HSVhsv(61, 64%, 71%)
CMYKcmyk(0.6%, 0%, 64.4%, 29.4%)
CIE-LABlab(71.28, -14.99, 56.82)
CIE-LCHlch(71.28, 58.76, 104.78°)
OKLaboklab(74.73% -0.0462 0.1285)
OKLCHoklch(74.73% 0.137 109.8)
XYZxyz(35.8382, 42.5974, 11.1838)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B440 #4140B4
analogous
#B47B40 #B3B440 #79B440
triadic
#B3B440 #40B3B4 #B440B3
tetradic
#B3B440 #40B47B #4140B4 #B44079
square
#B3B440 #40B47B #4140B4 #B44079
split-complementary
#B3B440 #4079B4 #7B40B4
monochromatic
#595A20 #868730 #B3B440 #C8C968 #D9D995

Accessibility & contrast

On white

2.21
#B3B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B3B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B440
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B440#FFFFFF#000000##000000
##B3B4401.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD31
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#BFA99C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b3b440;
/* rgb */ color: rgb(179, 180, 64);
/* oklch */ color: oklch(74.7% 0.137 109.8);
Tailwind
colors: {
  custom: {
    50: '#cdca7b',
    500: '#b3b440',
    950: '#000000',
  },
}
SCSS
$custom: #b3b440;
$custom-light: #cdca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b440",
  "rgb": {
    "r": 179,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 60.517,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74726,
    "c": 0.13651,
    "h": 109.8
  },
  "luminance": 0.42596
}

Semantic roles & 50–950 ramp

primary
#B3B440
secondary
#8B8BC5
accent
#51D752
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3B440

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

Preview Lab → · Contrast checker → · Palette generator →

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