#B8B038#B8B038

#B8B038 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.137 H 105.5°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B8B038
RGBrgb(184, 176, 56)
HSLhsl(56, 53%, 47%)
HSVhsv(56, 70%, 72%)
CMYKcmyk(0%, 4.3%, 69.6%, 27.8%)
CIE-LABlab(70.54, -11.25, 59.40)
CIE-LCHlch(70.54, 60.46, 100.72°)
OKLaboklab(74.22% -0.0367 0.1325)
OKLCHoklch(74.22% 0.137 105.5)
XYZxyz(36.0077, 41.5279, 9.8596)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B038 #3840B8
analogous
#B87038 #B8B038 #80B838
triadic
#B8B038 #38B8B0 #B038B8
tetradic
#B8B038 #38B870 #3840B8 #B83880
square
#B8B038 #38B870 #3840B8 #B83880
split-complementary
#B8B038 #3880B8 #7038B8
monochromatic
#5A561B #89832A #B8B038 #CEC75F #DDD88E

Accessibility & contrast

On white

2.26
#B8B038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#B8B038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B038
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B038#FFFFFF#000000##000000
##B8B0381.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#C5A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b038;
/* rgb */ color: rgb(184, 176, 56);
/* oklch */ color: oklch(74.2% 0.137 105.5);
Tailwind
colors: {
  custom: {
    50: '#d1c776',
    500: '#b8b038',
    950: '#000000',
  },
}
SCSS
$custom: #b8b038;
$custom-light: #d1c776;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b038",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 56.25,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74221,
    "c": 0.13746,
    "h": 105.5
  },
  "luminance": 0.41527
}

Semantic roles & 50–950 ramp

primary
#B8B038
secondary
#8589C7
accent
#54DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B038

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

Preview Lab → · Contrast checker → · Palette generator →

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