#B1B229#B1B229

#B1B229 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.149 H 110.0°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B1B229
RGBrgb(177, 178, 41)
HSLhsl(60, 63%, 43%)
HSVhsv(60, 77%, 70%)
CMYKcmyk(0.6%, 0%, 77%, 30.2%)
CIE-LABlab(70.42, -15.99, 64.32)
CIE-LCHlch(70.42, 66.28, 103.96°)
OKLaboklab(73.95% -0.0511 0.1404)
OKLCHoklch(73.95% 0.149 110)
XYZxyz(34.4534, 41.3490, 8.2637)
Luminance0.4135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B229 #2A29B2
analogous
#B26E29 #B1B229 #6CB229
triadic
#B1B229 #29B1B2 #B229B1
tetradic
#B1B229 #29B26E #2A29B2 #B2296C
square
#B1B229 #29B26E #2A29B2 #B2296C
split-complementary
#B1B229 #296CB2 #6E29B2
monochromatic
#4E4F12 #80801E #B1B229 #D3D444 #DFDF76

Accessibility & contrast

On white

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

On black

9.27
#B1B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B229
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B229#FFFFFF#000000##000000
##B1B2291.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b229;
/* rgb */ color: rgb(177, 178, 41);
/* oklch */ color: oklch(74.0% 0.149 110.0);
Tailwind
colors: {
  custom: {
    50: '#ccc86f',
    500: '#b1b229',
    950: '#000000',
  },
}
SCSS
$custom: #b1b229;
$custom-light: #ccc86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b229",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 60.438,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73952,
    "c": 0.14941,
    "h": 110
  },
  "luminance": 0.41348
}

Semantic roles & 50–950 ramp

primary
#B1B229
secondary
#7070C7
accent
#42E643
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B229

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

Preview Lab → · Contrast checker → · Palette generator →

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