#B0B026#B0B026

#B0B026 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.149 H 109.6°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B0B026
RGBrgb(176, 176, 38)
HSLhsl(60, 64%, 42%)
HSVhsv(60, 78%, 69%)
CMYKcmyk(0%, 0%, 78.4%, 31%)
CIE-LABlab(69.77, -15.52, 64.62)
CIE-LCHlch(69.77, 66.45, 103.51°)
OKLaboklab(73.41% -0.05 0.1405)
OKLCHoklch(73.41% 0.149 109.6)
XYZxyz(33.7810, 40.4218, 7.8561)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B026 #2626B0
analogous
#B06B26 #B0B026 #6BB026
triadic
#B0B026 #26B0B0 #B026B0
tetradic
#B0B026 #26B06B #2626B0 #B0266B
square
#B0B026 #26B06B #2626B0 #B0266B
split-complementary
#B0B026 #266BB0 #6B26B0
monochromatic
#4B4B10 #7E7E1B #B0B026 #D5D53E #E0E070

Accessibility & contrast

On white

2.31
#B0B026 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#B0B026 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B026
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B026#FFFFFF#000000##000000
##B0B0261.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C0AC32
Tritanopia (blue-blind)
#BDA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b0b026;
/* rgb */ color: rgb(176, 176, 38);
/* oklch */ color: oklch(73.4% 0.149 109.6);
Tailwind
colors: {
  custom: {
    50: '#cbc76d',
    500: '#b0b026',
    950: '#000000',
  },
}
SCSS
$custom: #b0b026;
$custom-light: #cbc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b026",
  "rgb": {
    "r": 176,
    "g": 176,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.73407,
    "c": 0.14915,
    "h": 109.6
  },
  "luminance": 0.40421
}

Semantic roles & 50–950 ramp

primary
#B0B026
secondary
#6B6BC7
accent
#40E740
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B0B026

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

Preview Lab → · Contrast checker → · Palette generator →

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