#B6B229#B6B229

#B6B229 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.148 H 107.8°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B6B229
RGBrgb(182, 178, 41)
HSLhsl(58, 63%, 44%)
HSVhsv(58, 77%, 71%)
CMYKcmyk(0%, 2.2%, 77.5%, 28.6%)
CIE-LABlab(70.83, -13.82, 64.85)
CIE-LCHlch(70.83, 66.31, 102.03°)
OKLaboklab(74.38% -0.0453 0.1413)
OKLCHoklch(74.38% 0.148 107.8)
XYZxyz(35.6135, 41.9472, 8.3180)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B229 #292DB6
analogous
#B66B29 #B6B229 #73B629
triadic
#B6B229 #29B6B2 #B229B6
tetradic
#B6B229 #29B66B #292DB6 #B62973
square
#B6B229 #29B66B #292DB6 #B62973
split-complementary
#B6B229 #2973B6 #6B29B6
monochromatic
#525012 #84811E #B6B229 #D5D147 #E1DE79

Accessibility & contrast

On white

2.24
#B6B229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B6B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B229
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B229#FFFFFF#000000##000000
##B6B2291.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#C4A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b229;
/* rgb */ color: rgb(182, 178, 41);
/* oklch */ color: oklch(74.4% 0.148 107.8);
Tailwind
colors: {
  custom: {
    50: '#d0c86f',
    500: '#b6b229',
    950: '#000000',
  },
}
SCSS
$custom: #b6b229;
$custom-light: #d0c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b229",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 58.298,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74384,
    "c": 0.14842,
    "h": 107.8
  },
  "luminance": 0.41946
}

Semantic roles & 50–950 ramp

primary
#B6B229
secondary
#7275C9
accent
#46E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B229

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

Preview Lab → · Contrast checker → · Palette generator →

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