#B7BE1C#B7BE1C

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

Color values

HEX#B7BE1C
RGBrgb(183, 190, 28)
HSLhsl(63, 74%, 43%)
HSVhsv(63, 85%, 75%)
CMYKcmyk(3.7%, 0%, 85.3%, 25.5%)
CIE-LABlab(74.18, -19.86, 71.17)
CIE-LCHlch(74.18, 73.88, 105.59°)
OKLaboklab(77.06% -0.063 0.1527)
OKLCHoklch(77.06% 0.165 112.4)
XYZxyz(38.1529, 46.9790, 8.1564)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BE1C #231CBE
analogous
#BE741C #B7BE1C #66BE1C
triadic
#B7BE1C #1CB7BE #BE1CB7
tetradic
#B7BE1C #1CBE74 #231CBE #BE1C66
square
#B7BE1C #1CBE74 #231CBE #BE1C66
split-complementary
#B7BE1C #1C66BE #741CBE
monochromatic
#50530C #848914 #B7BE1C #DAE136 #E4E96B

Accessibility & contrast

On white

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

On black

10.40
#B7BE1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BE1C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BE1C#FFFFFF#000000##000000
##B7BE1C1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CEB82E
Tritanopia (blue-blind)
#C4B2A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7be1c;
/* rgb */ color: rgb(183, 190, 28);
/* oklch */ color: oklch(77.1% 0.165 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d16c',
    500: '#b7be1c',
    950: '#000000',
  },
}
SCSS
$custom: #b7be1c;
$custom-light: #d1d16c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7be1c",
  "rgb": {
    "r": 183,
    "g": 190,
    "b": 28
  },
  "hsl": {
    "h": 62.593,
    "s": 74.312,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7706,
    "c": 0.16513,
    "h": 112.4
  },
  "luminance": 0.46978
}

Semantic roles & 50–950 ramp

primary
#B7BE1C
secondary
#6B67CF
accent
#37F13F
background
#FDFCF6
surface
#FAF9EC
border
#D3D2C7
text
#151408
muted
#83827A

Preview Lab

Preview with #B7BE1C

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

Preview Lab → · Contrast checker → · Palette generator →

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