#B7BD2E#B7BD2E

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

Color values

HEX#B7BD2E
RGBrgb(183, 189, 46)
HSLhsl(63, 61%, 46%)
HSVhsv(63, 76%, 74%)
CMYKcmyk(3.2%, 0%, 75.7%, 25.9%)
CIE-LABlab(73.97, -18.76, 66.18)
CIE-LCHlch(73.97, 68.79, 105.82°)
OKLaboklab(76.92% -0.0587 0.145)
OKLCHoklch(76.92% 0.156 112)
XYZxyz(38.2205, 46.6607, 9.5773)
Luminance0.4666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD2E #342EBD
analogous
#BD7B2E #B7BD2E #70BD2E
triadic
#B7BD2E #2EB7BD #BD2EB7
tetradic
#B7BD2E #2EBD7B #342EBD #BD2E70
square
#B7BD2E #2EBD7B #342EBD #BD2E70
split-complementary
#B7BD2E #2E70BD #7B2EBD
monochromatic
#585B16 #878C22 #B7BD2E #D0D553 #DDE184

Accessibility & contrast

On white

2.03
#B7BD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#B7BD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD2E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD2E#FFFFFF#000000##000000
##B7BD2E1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bd2e;
/* rgb */ color: rgb(183, 189, 46);
/* oklch */ color: oklch(76.9% 0.156 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d072',
    500: '#b7bd2e',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd2e;
$custom-light: #d0d072;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd2e",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 46
  },
  "hsl": {
    "h": 62.517,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76919,
    "c": 0.15646,
    "h": 112
  },
  "luminance": 0.4666
}

Semantic roles & 50–950 ramp

primary
#B7BD2E
secondary
#807CCA
accent
#44E44B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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