#B0B228#B0B228

#B0B228 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.150 H 110.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B0B228
RGBrgb(176, 178, 40)
HSLhsl(61, 63%, 43%)
HSVhsv(61, 78%, 70%)
CMYKcmyk(1.1%, 0%, 77.5%, 30.2%)
CIE-LABlab(70.33, -16.46, 64.52)
CIE-LCHlch(70.33, 66.59, 104.32°)
OKLaboklab(73.86% -0.0524 0.1407)
OKLCHoklch(73.86% 0.15 110.4)
XYZxyz(34.2091, 41.2251, 8.1623)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B228 #2A28B2
analogous
#B26F28 #B0B228 #6BB228
triadic
#B0B228 #28B0B2 #B228B0
tetradic
#B0B228 #28B26F #2A28B2 #B2286B
square
#B0B228 #28B26F #2A28B2 #B2286B
split-complementary
#B0B228 #286BB2 #6F28B2
monochromatic
#4D4E12 #7F801D #B0B228 #D3D543 #DEE075

Accessibility & contrast

On white

2.27
#B0B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B0B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B228
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B228#FFFFFF#000000##000000
##B0B2281.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#BDA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b228;
/* rgb */ color: rgb(176, 178, 40);
/* oklch */ color: oklch(73.9% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#cbc86e',
    500: '#b0b228',
    950: '#000000',
  },
}
SCSS
$custom: #b0b228;
$custom-light: #cbc86e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b228",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 60.87,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73861,
    "c": 0.15014,
    "h": 110.4
  },
  "luminance": 0.41224
}

Semantic roles & 50–950 ramp

primary
#B0B228
secondary
#706FC7
accent
#41E644
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B228

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

Preview Lab → · Contrast checker → · Palette generator →

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