#B6A23B#B6A23B

#B6A23B is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.123 H 98.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B6A23B
RGBrgb(182, 162, 59)
HSLhsl(50, 51%, 47%)
HSVhsv(50, 68%, 71%)
CMYKcmyk(0%, 11%, 67.6%, 28.6%)
CIE-LABlab(66.60, -4.60, 54.12)
CIE-LCHlch(66.60, 54.32, 94.86°)
OKLaboklab(71.05% -0.0174 0.1219)
OKLCHoklch(71.05% 0.123 98.1)
XYZxyz(33.0027, 36.1031, 9.3671)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A23B #3B4FB6
analogous
#B6653B #B6A23B #8CB63B
triadic
#B6A23B #3BB6A2 #A23BB6
tetradic
#B6A23B #3BB665 #3B4FB6 #B63B8C
square
#B6A23B #3BB665 #3B4FB6 #B63B8C
split-complementary
#B6A23B #3B8CB6 #653BB6
monochromatic
#5A501D #88792C #B6A23B #CCBB62 #DBCF90

Accessibility & contrast

On white

2.55
#B6A23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B6A23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A23B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A23B#FFFFFF#000000##000000
##B6A23B1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E2E
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#C4968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a23b;
/* rgb */ color: rgb(182, 162, 59);
/* oklch */ color: oklch(71.1% 0.123 98.1);
Tailwind
colors: {
  custom: {
    50: '#cfbd76',
    500: '#b6a23b',
    950: '#000000',
  },
}
SCSS
$custom: #b6a23b;
$custom-light: #cfbd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a23b",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 50.244,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71051,
    "c": 0.12312,
    "h": 98.1
  },
  "luminance": 0.36102
}

Semantic roles & 50–950 ramp

primary
#B6A23B
secondary
#8791C6
accent
#64DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A23B

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

Preview Lab → · Contrast checker → · Palette generator →

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