#B0B140#B0B140

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

Color values

HEX#B0B140
RGBrgb(176, 177, 64)
HSLhsl(61, 47%, 47%)
HSVhsv(61, 64%, 69%)
CMYKcmyk(0.6%, 0%, 63.8%, 30.6%)
CIE-LABlab(70.21, -14.73, 55.62)
CIE-LCHlch(70.21, 57.54, 104.84°)
OKLaboklab(73.81% -0.0453 0.126)
OKLCHoklch(73.81% 0.134 109.8)
XYZxyz(34.5531, 41.0455, 10.9519)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B140 #4140B1
analogous
#B17A40 #B0B140 #78B140
triadic
#B0B140 #40B0B1 #B140B0
tetradic
#B0B140 #40B17A #4140B1 #B14078
square
#B0B140 #40B17A #4140B1 #B14078
split-complementary
#B0B140 #4078B1 #7A40B1
monochromatic
#57571F #838430 #B0B140 #C7C866 #D7D893

Accessibility & contrast

On white

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

On black

9.21
#B0B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B140
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B140#FFFFFF#000000##000000
##B0B1401.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0b140;
/* rgb */ color: rgb(176, 177, 64);
/* oklch */ color: oklch(73.8% 0.134 109.8);
Tailwind
colors: {
  custom: {
    50: '#cac87a',
    500: '#b0b140',
    950: '#000000',
  },
}
SCSS
$custom: #b0b140;
$custom-light: #cac87a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b140",
  "rgb": {
    "r": 176,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 60.531,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73809,
    "c": 0.1339,
    "h": 109.8
  },
  "luminance": 0.41045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0B140

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

Preview Lab → · Contrast checker → · Palette generator →

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