#B8BE1C#B8BE1C

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

Color values

HEX#B8BE1C
RGBrgb(184, 190, 28)
HSLhsl(62, 74%, 43%)
HSVhsv(62, 85%, 75%)
CMYKcmyk(3.2%, 0%, 85.3%, 25.5%)
CIE-LABlab(74.25, -19.43, 71.26)
CIE-LCHlch(74.25, 73.86, 105.25°)
OKLaboklab(77.14% -0.0618 0.1528)
OKLCHoklch(77.14% 0.165 112)
XYZxyz(38.3916, 47.1021, 8.1676)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BE1C #221CBE
analogous
#BE731C #B8BE1C #67BE1C
triadic
#B8BE1C #1CB8BE #BE1CB8
tetradic
#B8BE1C #1CBE73 #221CBE #BE1C67
square
#B8BE1C #1CBE73 #221CBE #BE1C67
split-complementary
#B8BE1C #1C67BE #731CBE
monochromatic
#51530C #848914 #B8BE1C #DBE136 #E5E96B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BE1C#FFFFFF#000000##000000
##B8BE1C1.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)
#CDB500
Deuteranopia (green-blind)
#CEB82E
Tritanopia (blue-blind)
#C5B2A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8be1c;
/* rgb */ color: rgb(184, 190, 28);
/* oklch */ color: oklch(77.1% 0.165 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d16c',
    500: '#b8be1c',
    950: '#000000',
  },
}
SCSS
$custom: #b8be1c;
$custom-light: #d2d16c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8be1c",
  "rgb": {
    "r": 184,
    "g": 190,
    "b": 28
  },
  "hsl": {
    "h": 62.222,
    "s": 74.312,
    "l": 42.745
  },
  "oklch": {
    "l": 0.77142,
    "c": 0.16486,
    "h": 112
  },
  "luminance": 0.47101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8BE1C

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

Preview Lab → · Contrast checker → · Palette generator →

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