#B8B43F#B8B43F

#B8B43F is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.136 H 107.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B8B43F
RGBrgb(184, 180, 63)
HSLhsl(58, 49%, 48%)
HSVhsv(58, 66%, 72%)
CMYKcmyk(0%, 2.2%, 65.8%, 27.8%)
CIE-LABlab(71.69, -12.92, 57.78)
CIE-LCHlch(71.69, 59.21, 102.60°)
OKLaboklab(75.15% -0.0407 0.1302)
OKLCHoklch(75.15% 0.136 107.4)
XYZxyz(36.9869, 43.1929, 11.0904)
Luminance0.4319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B43F #3F43B8
analogous
#B8783F #B8B43F #7FB83F
triadic
#B8B43F #3FB8B4 #B43FB8
tetradic
#B8B43F #3FB878 #3F43B8 #B83F7F
square
#B8B43F #3FB878 #3F43B8 #B83F7F
split-complementary
#B8B43F #3F7FB8 #783FB8
monochromatic
#5D5B20 #8A872F #B8B43F #CCC869 #DBD996

Accessibility & contrast

On white

2.18
#B8B43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#B8B43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B43F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B43F#FFFFFF#000000##000000
##B8B43F1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2F
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#C5A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b43f;
/* rgb */ color: rgb(184, 180, 63);
/* oklch */ color: oklch(75.1% 0.136 107.4);
Tailwind
colors: {
  custom: {
    50: '#d0ca7a',
    500: '#b8b43f',
    950: '#000000',
  },
}
SCSS
$custom: #b8b43f;
$custom-light: #d0ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b43f",
  "rgb": {
    "r": 184,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 58.017,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75146,
    "c": 0.13642,
    "h": 107.4
  },
  "luminance": 0.43192
}

Semantic roles & 50–950 ramp

primary
#B8B43F
secondary
#8C8EC7
accent
#54D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B43F

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

Preview Lab → · Contrast checker → · Palette generator →

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