#B9B23E#B9B23E

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

Color values

HEX#B9B23E
RGBrgb(185, 178, 62)
HSLhsl(57, 50%, 48%)
HSVhsv(57, 66%, 73%)
CMYKcmyk(0%, 3.8%, 66.5%, 27.5%)
CIE-LABlab(71.22, -11.52, 57.73)
CIE-LCHlch(71.22, 58.87, 101.28°)
OKLaboklab(74.79% -0.0369 0.1299)
OKLCHoklch(74.79% 0.135 105.9)
XYZxyz(36.7989, 42.5042, 10.8222)
Luminance0.4250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B23E #3E45B9
analogous
#B9743E #B9B23E #82B93E
triadic
#B9B23E #3EB9B2 #B23EB9
tetradic
#B9B23E #3EB974 #3E45B9 #B93E82
square
#B9B23E #3EB974 #3E45B9 #B93E82
split-complementary
#B9B23E #3E82B9 #743EB9
monochromatic
#5D5A1F #8B862F #B9B23E #CCC768 #DCD896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B23E#FFFFFF#000000##000000
##B9B23E1.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)
#C1AC2E
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#C6A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b23e;
/* rgb */ color: rgb(185, 178, 62);
/* oklch */ color: oklch(74.8% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#d1c87a',
    500: '#b9b23e',
    950: '#000000',
  },
}
SCSS
$custom: #b9b23e;
$custom-light: #d1c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b23e",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 56.585,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74791,
    "c": 0.13506,
    "h": 105.9
  },
  "luminance": 0.42503
}

Semantic roles & 50–950 ramp

primary
#B9B23E
secondary
#8C8FC7
accent
#56D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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