#B8B243#B8B243

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

Color values

HEX#B8B243
RGBrgb(184, 178, 67)
HSLhsl(57, 47%, 49%)
HSVhsv(57, 64%, 72%)
CMYKcmyk(0%, 3.3%, 63.6%, 27.8%)
CIE-LABlab(71.17, -11.64, 55.57)
CIE-LCHlch(71.17, 56.78, 101.83°)
OKLaboklab(74.75% -0.0367 0.1262)
OKLCHoklch(74.75% 0.131 106.2)
XYZxyz(36.7020, 42.4376, 11.5671)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B243 #4349B8
analogous
#B87843 #B8B243 #84B843
triadic
#B8B243 #43B8B2 #B243B8
tetradic
#B8B243 #43B878 #4349B8 #B84384
square
#B8B243 #43B878 #4349B8 #B84384
split-complementary
#B8B243 #4384B8 #7843B8
monochromatic
#5E5B22 #8B8733 #B8B243 #CAC56E #DBD79B

Accessibility & contrast

On white

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

On black

9.49
#B8B243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B243
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B243#FFFFFF#000000##000000
##B8B2431.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC35
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#C5A79B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8b243;
/* rgb */ color: rgb(184, 178, 67);
/* oklch */ color: oklch(74.7% 0.131 106.2);
Tailwind
colors: {
  custom: {
    50: '#d0c87c',
    500: '#b8b243',
    950: '#000000',
  },
}
SCSS
$custom: #b8b243;
$custom-light: #d0c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b243",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 56.923,
    "s": 46.614,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74747,
    "c": 0.13138,
    "h": 106.2
  },
  "luminance": 0.42436
}

Semantic roles & 50–950 ramp

primary
#B8B243
secondary
#9093C7
accent
#58D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B243

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

Preview Lab → · Contrast checker → · Palette generator →

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