#B6B23C#B6B23C

#B6B23C is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.5% C 0.137 H 107.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B6B23C
RGBrgb(182, 178, 60)
HSLhsl(58, 50%, 47%)
HSVhsv(58, 67%, 71%)
CMYKcmyk(0%, 2.2%, 67%, 28.6%)
CIE-LABlab(70.95, -12.92, 58.18)
CIE-LCHlch(70.95, 59.60, 102.52°)
OKLaboklab(74.51% -0.0409 0.1306)
OKLCHoklch(74.51% 0.137 107.4)
XYZxyz(36.0287, 42.1133, 10.5049)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B23C #3C40B6
analogous
#B6753C #B6B23C #7DB63C
triadic
#B6B23C #3CB6B2 #B23CB6
tetradic
#B6B23C #3CB675 #3C40B6 #B63C7D
square
#B6B23C #3CB675 #3C40B6 #B63C7D
split-complementary
#B6B23C #3C7DB6 #753CB6
monochromatic
#5A581E #88852D #B6B23C #CCC863 #DBD891

Accessibility & contrast

On white

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

On black

9.42
#B6B23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B23C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B23C#FFFFFF#000000##000000
##B6B23C1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2B
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#C3A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b6b23c;
/* rgb */ color: rgb(182, 178, 60);
/* oklch */ color: oklch(74.5% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#cfc878',
    500: '#b6b23c',
    950: '#000000',
  },
}
SCSS
$custom: #b6b23c;
$custom-light: #cfc878;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b23c",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 58.033,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74511,
    "c": 0.13689,
    "h": 107.4
  },
  "luminance": 0.42112
}

Semantic roles & 50–950 ramp

primary
#B6B23C
secondary
#888AC6
accent
#52DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B23C

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

Preview Lab → · Contrast checker → · Palette generator →

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