#B8B23E#B8B23E

#B8B23E is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.135 H 106.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#B8B23E
RGBrgb(184, 178, 62)
HSLhsl(57, 50%, 48%)
HSVhsv(57, 66%, 72%)
CMYKcmyk(0%, 3.3%, 66.3%, 27.8%)
CIE-LABlab(71.13, -11.95, 57.62)
CIE-LCHlch(71.13, 58.84, 101.71°)
OKLaboklab(74.7% -0.0381 0.1297)
OKLCHoklch(74.7% 0.135 106.4)
XYZxyz(36.5584, 42.3802, 10.8109)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B23E #3E44B8
analogous
#B8753E #B8B23E #81B83E
triadic
#B8B23E #3EB8B2 #B23EB8
tetradic
#B8B23E #3EB875 #3E44B8 #B83E81
square
#B8B23E #3EB875 #3E44B8 #B83E81
split-complementary
#B8B23E #3E81B8 #753EB8
monochromatic
#5C591F #8A862F #B8B23E #CCC767 #DBD895

Accessibility & contrast

On white

2.22
#B8B23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#B8B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B23E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B23E#FFFFFF#000000##000000
##B8B23E1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2E
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#C5A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8b23e;
/* rgb */ color: rgb(184, 178, 62);
/* oklch */ color: oklch(74.7% 0.135 106.4);
Tailwind
colors: {
  custom: {
    50: '#d0c87a',
    500: '#b8b23e',
    950: '#000000',
  },
}
SCSS
$custom: #b8b23e;
$custom-light: #d0c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b23e",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 57.049,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74703,
    "c": 0.13518,
    "h": 106.4
  },
  "luminance": 0.42379
}

Semantic roles & 50–950 ramp

primary
#B8B23E
secondary
#8B8EC7
accent
#55D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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