#B6B234#B6B234

#B6B234 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.142 H 107.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B6B234
RGBrgb(182, 178, 52)
HSLhsl(58, 56%, 46%)
HSVhsv(58, 71%, 71%)
CMYKcmyk(0%, 2.2%, 71.4%, 28.6%)
CIE-LABlab(70.89, -13.34, 61.19)
CIE-LCHlch(70.89, 62.63, 102.30°)
OKLaboklab(74.45% -0.0429 0.1356)
OKLCHoklch(74.45% 0.142 107.6)
XYZxyz(35.8330, 42.0350, 9.4742)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B234 #3438B6
analogous
#B67134 #B6B234 #79B634
triadic
#B6B234 #34B6B2 #B234B6
tetradic
#B6B234 #34B671 #3438B6 #B63479
square
#B6B234 #34B671 #3438B6 #B63479
split-complementary
#B6B234 #3479B6 #7134B6
monochromatic
#575519 #868326 #B6B234 #CFCC58 #DDDA88

Accessibility & contrast

On white

2.23
#B6B234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B6B234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B234
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B234#FFFFFF#000000##000000
##B6B2341.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1E
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#C3A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b234;
/* rgb */ color: rgb(182, 178, 52);
/* oklch */ color: oklch(74.5% 0.142 107.6);
Tailwind
colors: {
  custom: {
    50: '#cfc874',
    500: '#b6b234',
    950: '#000000',
  },
}
SCSS
$custom: #b6b234;
$custom-light: #cfc874;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b234",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 58.154,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74451,
    "c": 0.14224,
    "h": 107.6
  },
  "luminance": 0.42034
}

Semantic roles & 50–950 ramp

primary
#B6B234
secondary
#7F81C7
accent
#4EDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B234

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

Preview Lab → · Contrast checker → · Palette generator →

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