#B6B52F#B6B52F

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

Color values

HEX#B6B52F
RGBrgb(182, 181, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 71%)
CMYKcmyk(0%, 0.5%, 74.2%, 28.6%)
CIE-LABlab(71.69, -15.11, 63.70)
CIE-LCHlch(71.69, 65.47, 103.34°)
OKLaboklab(75.08% -0.0484 0.14)
OKLCHoklch(75.08% 0.148 109.1)
XYZxyz(36.3297, 43.1992, 9.1133)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B52F #2F30B6
analogous
#B6722F #B6B52F #73B62F
triadic
#B6B52F #2FB6B5 #B52FB6
tetradic
#B6B52F #2FB672 #2F30B6 #B62F73
square
#B6B52F #2FB672 #2F30B6 #B62F73
split-complementary
#B6B52F #2F73B6 #722FB6
monochromatic
#555416 #858522 #B6B52F #D2D150 #DEDE81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B52F#FFFFFF#000000##000000
##B6B52F1.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)
#C4AD12
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#C3A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b6b52f;
/* rgb */ color: rgb(182, 181, 47);
/* oklch */ color: oklch(75.1% 0.148 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0ca72',
    500: '#b6b52f',
    950: '#000000',
  },
}
SCSS
$custom: #b6b52f;
$custom-light: #d0ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b52f",
  "rgb": {
    "r": 182,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 59.556,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75076,
    "c": 0.14813,
    "h": 109.1
  },
  "luminance": 0.43198
}

Semantic roles & 50–950 ramp

primary
#B6B52F
secondary
#797AC7
accent
#47E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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