#B8B235#B8B235

#B8B235 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.141 H 106.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#B8B235
RGBrgb(184, 178, 53)
HSLhsl(57, 55%, 46%)
HSVhsv(57, 71%, 72%)
CMYKcmyk(0%, 3.3%, 71.2%, 27.8%)
CIE-LABlab(71.07, -12.43, 61.05)
CIE-LCHlch(71.07, 62.31, 101.51°)
OKLaboklab(74.63% -0.0404 0.1354)
OKLCHoklch(74.63% 0.141 106.6)
XYZxyz(36.3316, 42.2895, 9.6164)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B235 #353BB8
analogous
#B87135 #B8B235 #7DB835
triadic
#B8B235 #35B8B2 #B235B8
tetradic
#B8B235 #35B871 #353BB8 #B8357D
square
#B8B235 #35B871 #353BB8 #B8357D
split-complementary
#B8B235 #357DB8 #7135B8
monochromatic
#59561A #888427 #B8B235 #D0CA5B #DDDA8A

Accessibility & contrast

On white

2.22
#B8B235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#B8B235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B235
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B235#FFFFFF#000000##000000
##B8B2351.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB20
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#C5A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8b235;
/* rgb */ color: rgb(184, 178, 53);
/* oklch */ color: oklch(74.6% 0.141 106.6);
Tailwind
colors: {
  custom: {
    50: '#d1c875',
    500: '#b8b235',
    950: '#000000',
  },
}
SCSS
$custom: #b8b235;
$custom-light: #d1c875;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b235",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 57.252,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74634,
    "c": 0.14131,
    "h": 106.6
  },
  "luminance": 0.42288
}

Semantic roles & 50–950 ramp

primary
#B8B235
secondary
#8185C7
accent
#50DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B235

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

Preview Lab → · Contrast checker → · Palette generator →

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