#B6B230#B6B230

#B6B230 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.145 H 107.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B6B230
RGBrgb(182, 178, 48)
HSLhsl(58, 58%, 45%)
HSVhsv(58, 74%, 71%)
CMYKcmyk(0%, 2.2%, 73.6%, 28.6%)
CIE-LABlab(70.87, -13.53, 62.59)
CIE-LCHlch(70.87, 64.04, 102.20°)
OKLaboklab(74.43% -0.0439 0.1378)
OKLCHoklch(74.43% 0.145 107.7)
XYZxyz(35.7467, 42.0005, 9.0196)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B230 #3034B6
analogous
#B66F30 #B6B230 #77B630
triadic
#B6B230 #30B6B2 #B230B6
tetradic
#B6B230 #30B66F #3034B6 #B63077
square
#B6B230 #30B66F #3034B6 #B63077
split-complementary
#B6B230 #3077B6 #6F30B6
monochromatic
#555316 #868323 #B6B230 #D1CE52 #DEDB82

Accessibility & contrast

On white

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

On black

9.40
#B6B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B230
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B230#FFFFFF#000000##000000
##B6B2301.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6b230;
/* rgb */ color: rgb(182, 178, 48);
/* oklch */ color: oklch(74.4% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c872',
    500: '#b6b230',
    950: '#000000',
  },
}
SCSS
$custom: #b6b230;
$custom-light: #d0c872;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b230",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 58.209,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74425,
    "c": 0.14465,
    "h": 107.7
  },
  "luminance": 0.41999
}

Semantic roles & 50–950 ramp

primary
#B6B230
secondary
#7B7DC7
accent
#4BE146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B230

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

Preview Lab → · Contrast checker → · Palette generator →

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