#B6B52E#B6B52E

#B6B52E is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.149 H 109.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B6B52E
RGBrgb(182, 181, 46)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 71%)
CMYKcmyk(0%, 0.5%, 74.7%, 28.6%)
CIE-LABlab(71.68, -15.15, 64.03)
CIE-LCHlch(71.68, 65.80, 103.31°)
OKLaboklab(75.07% -0.0486 0.1405)
OKLCHoklch(75.07% 0.149 109.1)
XYZxyz(36.3098, 43.1912, 9.0083)
Luminance0.4319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B52E #2E2FB6
analogous
#B6712E #B6B52E #73B62E
triadic
#B6B52E #2EB6B5 #B52EB6
tetradic
#B6B52E #2EB671 #2E2FB6 #B62E73
square
#B6B52E #2EB671 #2E2FB6 #B62E73
split-complementary
#B6B52E #2E73B6 #712EB6
monochromatic
#545415 #858422 #B6B52E #D2D14F #DFDE80

Accessibility & contrast

On white

2.18
#B6B52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#B6B52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B52E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B52E#FFFFFF#000000##000000
##B6B52E1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0F
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#C3A99B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b6b52e;
/* rgb */ color: rgb(182, 181, 46);
/* oklch */ color: oklch(75.1% 0.149 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0ca71',
    500: '#b6b52e',
    950: '#000000',
  },
}
SCSS
$custom: #b6b52e;
$custom-light: #d0ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b52e",
  "rgb": {
    "r": 182,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 59.559,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7507,
    "c": 0.14868,
    "h": 109.1
  },
  "luminance": 0.4319
}

Semantic roles & 50–950 ramp

primary
#B6B52E
secondary
#7879C8
accent
#46E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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