#B9B23C#B9B23C

#B9B23C is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.8% C 0.136 H 105.9°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B9B23C
RGBrgb(185, 178, 60)
HSLhsl(57, 51%, 48%)
HSVhsv(57, 68%, 73%)
CMYKcmyk(0%, 3.8%, 67.6%, 27.5%)
CIE-LABlab(71.20, -11.63, 58.52)
CIE-LCHlch(71.20, 59.67, 101.24°)
OKLaboklab(74.78% -0.0375 0.1313)
OKLCHoklch(74.78% 0.136 105.9)
XYZxyz(36.7450, 42.4826, 10.5385)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B23C #3C43B9
analogous
#B9733C #B9B23C #81B93C
triadic
#B9B23C #3CB9B2 #B23CB9
tetradic
#B9B23C #3CB973 #3C43B9 #B93C81
square
#B9B23C #3CB973 #3C43B9 #B93C81
split-complementary
#B9B23C #3C81B9 #733CB9
monochromatic
#5D591E #8B862D #B9B23C #CDC765 #DCD893

Accessibility & contrast

On white

2.21
#B9B23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#B9B23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B23C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B23C#FFFFFF#000000##000000
##B9B23C1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2B
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#C6A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b23c;
/* rgb */ color: rgb(185, 178, 60);
/* oklch */ color: oklch(74.8% 0.136 105.9);
Tailwind
colors: {
  custom: {
    50: '#d1c878',
    500: '#b9b23c',
    950: '#000000',
  },
}
SCSS
$custom: #b9b23c;
$custom-light: #d1c878;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b23c",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 56.64,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74775,
    "c": 0.13649,
    "h": 105.9
  },
  "luminance": 0.42481
}

Semantic roles & 50–950 ramp

primary
#B9B23C
secondary
#898DC7
accent
#55DA4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B23C

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

Preview Lab → · Contrast checker → · Palette generator →

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