#B9B243#B9B243

#B9B243 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.131 H 105.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B9B243
RGBrgb(185, 178, 67)
HSLhsl(56, 47%, 49%)
HSVhsv(56, 64%, 73%)
CMYKcmyk(0%, 3.8%, 63.8%, 27.5%)
CIE-LABlab(71.26, -11.21, 55.69)
CIE-LCHlch(71.26, 56.81, 101.38°)
OKLaboklab(74.83% -0.0355 0.1264)
OKLCHoklch(74.83% 0.131 105.7)
XYZxyz(36.9424, 42.5616, 11.5783)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B243 #434AB9
analogous
#B97743 #B9B243 #85B943
triadic
#B9B243 #43B9B2 #B243B9
tetradic
#B9B243 #43B977 #434AB9 #B94385
square
#B9B243 #43B977 #434AB9 #B94385
split-complementary
#B9B243 #4385B9 #7743B9
monochromatic
#5F5C22 #8C8733 #B9B243 #CBC56F #DBD79B

Accessibility & contrast

On white

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

On black

9.51
#B9B243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B243
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B243#FFFFFF#000000##000000
##B9B2431.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC35
Deuteranopia (green-blind)
#C3B14A
Tritanopia (blue-blind)
#C6A79B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b243;
/* rgb */ color: rgb(185, 178, 67);
/* oklch */ color: oklch(74.8% 0.131 105.7);
Tailwind
colors: {
  custom: {
    50: '#d1c87c',
    500: '#b9b243',
    950: '#000000',
  },
}
SCSS
$custom: #b9b243;
$custom-light: #d1c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b243",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 56.441,
    "s": 46.825,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74835,
    "c": 0.13128,
    "h": 105.7
  },
  "luminance": 0.4256
}

Semantic roles & 50–950 ramp

primary
#B9B243
secondary
#9194C7
accent
#59D651
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B243

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

Preview Lab → · Contrast checker → · Palette generator →

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