#B3B140#B3B140

#B3B140 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.133 H 108.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B3B140
RGBrgb(179, 177, 64)
HSLhsl(59, 47%, 48%)
HSVhsv(59, 64%, 70%)
CMYKcmyk(0%, 1.1%, 64.2%, 29.8%)
CIE-LABlab(70.45, -13.45, 55.96)
CIE-LCHlch(70.45, 57.55, 103.52°)
OKLaboklab(74.07% -0.0418 0.1267)
OKLCHoklch(74.07% 0.133 108.3)
XYZxyz(35.2391, 41.3992, 10.9841)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B140 #4042B3
analogous
#B37840 #B3B140 #7BB340
triadic
#B3B140 #40B3B1 #B140B3
tetradic
#B3B140 #40B378 #4042B3 #B3407B
square
#B3B140 #40B378 #4042B3 #B3407B
split-complementary
#B3B140 #407BB3 #7840B3
monochromatic
#595820 #868430 #B3B140 #C9C767 #D9D894

Accessibility & contrast

On white

2.26
#B3B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#B3B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B140
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B140#FFFFFF#000000##000000
##B3B1401.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#C1AE47
Tritanopia (blue-blind)
#BFA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b3b140;
/* rgb */ color: rgb(179, 177, 64);
/* oklch */ color: oklch(74.1% 0.133 108.3);
Tailwind
colors: {
  custom: {
    50: '#cdc87b',
    500: '#b3b140',
    950: '#000000',
  },
}
SCSS
$custom: #b3b140;
$custom-light: #cdc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b140",
  "rgb": {
    "r": 179,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 58.957,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74066,
    "c": 0.13338,
    "h": 108.3
  },
  "luminance": 0.41398
}

Semantic roles & 50–950 ramp

primary
#B3B140
secondary
#8A8BC4
accent
#53D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3B140

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

Preview Lab → · Contrast checker → · Palette generator →

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