#B0B229#B0B229

#B0B229 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.25:1 contrast (WCAG AA passes).

Color values

HEX#B0B229
RGBrgb(176, 178, 41)
HSLhsl(61, 63%, 43%)
HSVhsv(61, 77%, 70%)
CMYKcmyk(1.1%, 0%, 77%, 30.2%)
CIE-LABlab(70.34, -16.43, 64.22)
CIE-LCHlch(70.34, 66.29, 104.35°)
OKLaboklab(73.87% -0.0522 0.1402)
OKLCHoklch(73.87% 0.15 110.4)
XYZxyz(34.2264, 41.2320, 8.2530)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B229 #2B29B2
analogous
#B26F29 #B0B229 #6BB229
triadic
#B0B229 #29B0B2 #B229B0
tetradic
#B0B229 #29B26F #2B29B2 #B2296B
square
#B0B229 #29B26F #2B29B2 #B2296B
split-complementary
#B0B229 #296BB2 #6F29B2
monochromatic
#4E4F12 #7F801E #B0B229 #D2D444 #DEDF76

Accessibility & contrast

On white

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

On black

9.25
#B0B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B229
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B229#FFFFFF#000000##000000
##B0B2291.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0b229;
/* rgb */ color: rgb(176, 178, 41);
/* oklch */ color: oklch(73.9% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#cbc86f',
    500: '#b0b229',
    950: '#000000',
  },
}
SCSS
$custom: #b0b229;
$custom-light: #cbc86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b229",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 60.876,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73866,
    "c": 0.14964,
    "h": 110.4
  },
  "luminance": 0.41231
}

Semantic roles & 50–950 ramp

primary
#B0B229
secondary
#7170C7
accent
#42E645
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B229

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

Preview Lab → · Contrast checker → · Palette generator →

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