#B8B23C#B8B23C

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

Color values

HEX#B8B23C
RGBrgb(184, 178, 60)
HSLhsl(57, 51%, 48%)
HSVhsv(57, 67%, 72%)
CMYKcmyk(0%, 3.3%, 67.4%, 27.8%)
CIE-LABlab(71.12, -12.06, 58.41)
CIE-LCHlch(71.12, 59.64, 101.67°)
OKLaboklab(74.69% -0.0386 0.131)
OKLCHoklch(74.69% 0.137 106.4)
XYZxyz(36.5045, 42.3586, 10.5272)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B23C #3C42B8
analogous
#B8743C #B8B23C #80B83C
triadic
#B8B23C #3CB8B2 #B23CB8
tetradic
#B8B23C #3CB874 #3C42B8 #B83C80
square
#B8B23C #3CB874 #3C42B8 #B83C80
split-complementary
#B8B23C #3C80B8 #743CB8
monochromatic
#5C591E #8A852D #B8B23C #CDC865 #DCD893

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B23C#FFFFFF#000000##000000
##B8B23C1.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)
#C1AB2B
Deuteranopia (green-blind)
#C4B044
Tritanopia (blue-blind)
#C5A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8b23c;
/* rgb */ color: rgb(184, 178, 60);
/* oklch */ color: oklch(74.7% 0.137 106.4);
Tailwind
colors: {
  custom: {
    50: '#d0c878',
    500: '#b8b23c',
    950: '#000000',
  },
}
SCSS
$custom: #b8b23c;
$custom-light: #d0c878;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b23c",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 57.097,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74687,
    "c": 0.13662,
    "h": 106.4
  },
  "luminance": 0.42357
}

Semantic roles & 50–950 ramp

primary
#B8B23C
secondary
#898CC7
accent
#54DA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B23C

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

Preview Lab → · Contrast checker → · Palette generator →

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