#B5B235#B5B235

#B5B235 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.142 H 108.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#B5B235
RGBrgb(181, 178, 53)
HSLhsl(59, 55%, 46%)
HSVhsv(59, 71%, 71%)
CMYKcmyk(0%, 1.7%, 70.7%, 29%)
CIE-LABlab(70.82, -13.73, 60.72)
CIE-LCHlch(70.82, 62.25, 102.74°)
OKLaboklab(74.37% -0.0439 0.1348)
OKLCHoklch(74.37% 0.142 108)
XYZxyz(35.6204, 41.9227, 9.5830)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B235 #3538B5
analogous
#B57235 #B5B235 #78B535
triadic
#B5B235 #35B5B2 #B235B5
tetradic
#B5B235 #35B572 #3538B5 #B53578
square
#B5B235 #35B572 #3538B5 #B53578
split-complementary
#B5B235 #3578B5 #7235B5
monochromatic
#565519 #868327 #B5B235 #CECC59 #DCDA88

Accessibility & contrast

On white

2.24
#B5B235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#B5B235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B235
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B235#FFFFFF#000000##000000
##B5B2351.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB20
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#C2A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b235;
/* rgb */ color: rgb(181, 178, 53);
/* oklch */ color: oklch(74.4% 0.142 108.0);
Tailwind
colors: {
  custom: {
    50: '#cfc875',
    500: '#b5b235',
    950: '#000000',
  },
}
SCSS
$custom: #b5b235;
$custom-light: #cfc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b235",
  "rgb": {
    "r": 181,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 58.594,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74371,
    "c": 0.14177,
    "h": 108
  },
  "luminance": 0.41922
}

Semantic roles & 50–950 ramp

primary
#B5B235
secondary
#8081C6
accent
#4DDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B235

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

Preview Lab → · Contrast checker → · Palette generator →

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