#B0B142#B0B142

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

Color values

HEX#B0B142
RGBrgb(176, 177, 66)
HSLhsl(61, 46%, 48%)
HSVhsv(61, 63%, 69%)
CMYKcmyk(0.6%, 0%, 62.7%, 30.6%)
CIE-LABlab(70.22, -14.61, 54.79)
CIE-LCHlch(70.22, 56.71, 104.93°)
OKLaboklab(73.83% -0.0447 0.1246)
OKLCHoklch(73.83% 0.132 109.7)
XYZxyz(34.6111, 41.0687, 11.2570)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B142 #4342B1
analogous
#B17B42 #B0B142 #78B142
triadic
#B0B142 #42B0B1 #B142B0
tetradic
#B0B142 #42B17B #4342B1 #B14278
square
#B0B142 #42B17B #4342B1 #B14278
split-complementary
#B0B142 #4278B1 #7B42B1
monochromatic
#575821 #848431 #B0B142 #C6C769 #D7D896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B142#FFFFFF#000000##000000
##B0B1421.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)
#BEAA34
Deuteranopia (green-blind)
#C0AD49
Tritanopia (blue-blind)
#BCA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b142;
/* rgb */ color: rgb(176, 177, 66);
/* oklch */ color: oklch(73.8% 0.132 109.7);
Tailwind
colors: {
  custom: {
    50: '#cac87c',
    500: '#b0b142',
    950: '#000000',
  },
}
SCSS
$custom: #b0b142;
$custom-light: #cac87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b142",
  "rgb": {
    "r": 176,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 60.541,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73827,
    "c": 0.13234,
    "h": 109.7
  },
  "luminance": 0.41068
}

Semantic roles & 50–950 ramp

primary
#B0B142
secondary
#8C8BC3
accent
#52D554
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B0B142

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

Preview Lab → · Contrast checker → · Palette generator →

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