#B3B840#B3B840

#B3B840 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.141 H 111.6°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B3B840
RGBrgb(179, 184, 64)
HSLhsl(63, 48%, 49%)
HSVhsv(63, 65%, 72%)
CMYKcmyk(2.7%, 0%, 65.2%, 27.8%)
CIE-LABlab(72.39, -17.02, 57.97)
CIE-LCHlch(72.39, 60.42, 106.36°)
OKLaboklab(75.61% -0.0519 0.1309)
OKLCHoklch(75.61% 0.141 111.6)
XYZxyz(36.6574, 44.2357, 11.4568)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B840 #4540B8
analogous
#B88140 #B3B840 #77B840
triadic
#B3B840 #40B3B8 #B840B3
tetradic
#B3B840 #40B881 #4540B8 #B84077
square
#B3B840 #40B881 #4540B8 #B84077
split-complementary
#B3B840 #4077B8 #8140B8
monochromatic
#5B5D20 #878B30 #B3B840 #C7CB6A #D8DB97

Accessibility & contrast

On white

2.13
#B3B840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B3B840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B840
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B840#FFFFFF#000000##000000
##B3B8401.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#BFAD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b3b840;
/* rgb */ color: rgb(179, 184, 64);
/* oklch */ color: oklch(75.6% 0.141 111.6);
Tailwind
colors: {
  custom: {
    50: '#cdcd7b',
    500: '#b3b840',
    950: '#000000',
  },
}
SCSS
$custom: #b3b840;
$custom-light: #cdcd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b840",
  "rgb": {
    "r": 179,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 62.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75608,
    "c": 0.1408,
    "h": 111.6
  },
  "luminance": 0.44235
}

Semantic roles & 50–950 ramp

primary
#B3B840
secondary
#8F8DC7
accent
#50D856
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3B840

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

Preview Lab → · Contrast checker → · Palette generator →

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