#B7BE2D#B7BE2D

#B7BE2D is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.158 H 112.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#B7BE2D
RGBrgb(183, 190, 45)
HSLhsl(63, 62%, 46%)
HSVhsv(63, 76%, 75%)
CMYKcmyk(3.7%, 0%, 76.3%, 25.5%)
CIE-LABlab(74.24, -19.30, 66.74)
CIE-LCHlch(74.24, 69.48, 106.13°)
OKLaboklab(77.13% -0.0602 0.1461)
OKLCHoklch(77.13% 0.158 112.4)
XYZxyz(38.4168, 47.0846, 9.5466)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BE2D #342DBE
analogous
#BE7C2D #B7BE2D #6EBE2D
triadic
#B7BE2D #2DB7BE #BE2DB7
tetradic
#B7BE2D #2DBE7C #342DBE #BE2D6E
square
#B7BE2D #2DBE7C #342DBE #BE2D6E
split-complementary
#B7BE2D #2D6EBE #7C2DBE
monochromatic
#585B16 #878D21 #B7BE2D #D0D652 #DDE284

Accessibility & contrast

On white

2.02
#B7BE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#B7BE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BE2D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BE2D#FFFFFF#000000##000000
##B7BE2D1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB503
Deuteranopia (green-blind)
#CDB83A
Tritanopia (blue-blind)
#C4B2A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7be2d;
/* rgb */ color: rgb(183, 190, 45);
/* oklch */ color: oklch(77.1% 0.158 112.4);
Tailwind
colors: {
  custom: {
    50: '#d0d172',
    500: '#b7be2d',
    950: '#000000',
  },
}
SCSS
$custom: #b7be2d;
$custom-light: #d0d172;
$custom-dark: #000000;
JSON
{
  "hex": "#b7be2d",
  "rgb": {
    "r": 183,
    "g": 190,
    "b": 45
  },
  "hsl": {
    "h": 62.897,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77135,
    "c": 0.158,
    "h": 112.4
  },
  "luminance": 0.47084
}

Semantic roles & 50–950 ramp

primary
#B7BE2D
secondary
#807CCB
accent
#43E54B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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