#B6B02E#B6B02E

#B6B02E is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.0% C 0.144 H 106.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B6B02E
RGBrgb(182, 176, 46)
HSLhsl(57, 60%, 45%)
HSVhsv(57, 75%, 71%)
CMYKcmyk(0%, 3.3%, 74.7%, 28.6%)
CIE-LABlab(70.31, -12.59, 62.75)
CIE-LCHlch(70.31, 64.00, 101.35°)
OKLaboklab(73.98% -0.0414 0.1378)
OKLCHoklch(73.98% 0.144 106.7)
XYZxyz(35.3113, 41.1943, 8.6755)
Luminance0.4119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B02E #2E34B6
analogous
#B66C2E #B6B02E #78B62E
triadic
#B6B02E #2EB6B0 #B02EB6
tetradic
#B6B02E #2EB66C #2E34B6 #B62E78
square
#B6B02E #2EB66C #2E34B6 #B62E78
split-complementary
#B6B02E #2E78B6 #6C2EB6
monochromatic
#545215 #858122 #B6B02E #D2CD4F #DFDB80

Accessibility & contrast

On white

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

On black

9.24
#B6B02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B02E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B02E#FFFFFF#000000##000000
##B6B02E1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#C4A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b6b02e;
/* rgb */ color: rgb(182, 176, 46);
/* oklch */ color: oklch(74.0% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#d0c771',
    500: '#b6b02e',
    950: '#000000',
  },
}
SCSS
$custom: #b6b02e;
$custom-light: #d0c771;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b02e",
  "rgb": {
    "r": 182,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 57.353,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73975,
    "c": 0.14389,
    "h": 106.7
  },
  "luminance": 0.41193
}

Semantic roles & 50–950 ramp

primary
#B6B02E
secondary
#787CC8
accent
#4CE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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