#B8B23D#B8B23D

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

Color values

HEX#B8B23D
RGBrgb(184, 178, 61)
HSLhsl(57, 50%, 48%)
HSVhsv(57, 67%, 72%)
CMYKcmyk(0%, 3.3%, 66.8%, 27.8%)
CIE-LABlab(71.12, -12.00, 58.01)
CIE-LCHlch(71.12, 59.24, 101.69°)
OKLaboklab(74.69% -0.0384 0.1304)
OKLCHoklch(74.69% 0.136 106.4)
XYZxyz(36.5312, 42.3693, 10.6678)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B23D #3D43B8
analogous
#B8743D #B8B23D #80B83D
triadic
#B8B23D #3DB8B2 #B23DB8
tetradic
#B8B23D #3DB874 #3D43B8 #B83D80
square
#B8B23D #3DB874 #3D43B8 #B83D80
split-complementary
#B8B23D #3D80B8 #743DB8
monochromatic
#5C591F #8A862E #B8B23D #CCC766 #DBD894

Accessibility & contrast

On white

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

On black

9.47
#B8B23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B23D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B23D#FFFFFF#000000##000000
##B8B23D1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b23d;
/* rgb */ color: rgb(184, 178, 61);
/* oklch */ color: oklch(74.7% 0.136 106.4);
Tailwind
colors: {
  custom: {
    50: '#d0c879',
    500: '#b8b23d',
    950: '#000000',
  },
}
SCSS
$custom: #b8b23d;
$custom-light: #d0c879;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b23d",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 57.073,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74695,
    "c": 0.1359,
    "h": 106.4
  },
  "luminance": 0.42368
}

Semantic roles & 50–950 ramp

primary
#B8B23D
secondary
#8A8DC7
accent
#55DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B23D

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

Preview Lab → · Contrast checker → · Palette generator →

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