#B7BD23#B7BD23

#B7BD23 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.9% C 0.162 H 112.0°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#B7BD23
RGBrgb(183, 189, 35)
HSLhsl(62, 69%, 44%)
HSVhsv(62, 81%, 74%)
CMYKcmyk(3.2%, 0%, 81.5%, 25.9%)
CIE-LABlab(73.92, -19.16, 69.30)
CIE-LCHlch(73.92, 71.90, 105.45°)
OKLaboklab(76.87% -0.0606 0.1498)
OKLCHoklch(76.87% 0.162 112)
XYZxyz(38.0308, 46.5848, 8.5782)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD23 #2923BD
analogous
#BD7623 #B7BD23 #6ABD23
triadic
#B7BD23 #23B7BD #BD23B7
tetradic
#B7BD23 #23BD76 #2923BD #BD236A
square
#B7BD23 #23BD76 #2923BD #BD236A
split-complementary
#B7BD23 #236ABD #7623BD
monochromatic
#535610 #858919 #B7BD23 #D6DC41 #E1E575

Accessibility & contrast

On white

2.04
#B7BD23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#B7BD23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD23
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD23#FFFFFF#000000##000000
##B7BD231.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB733
Tritanopia (blue-blind)
#C4B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd23;
/* rgb */ color: rgb(183, 189, 35);
/* oklch */ color: oklch(76.9% 0.162 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d06e',
    500: '#b7bd23',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd23;
$custom-light: #d1d06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd23",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 35
  },
  "hsl": {
    "h": 62.338,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.76865,
    "c": 0.16157,
    "h": 112
  },
  "luminance": 0.46584
}

Semantic roles & 50–950 ramp

primary
#B7BD23
secondary
#736FCD
accent
#3CEC43
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BD23

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

Preview Lab → · Contrast checker → · Palette generator →

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