#B5B738#B5B738

#B5B738 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.145 H 110.3°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B5B738
RGBrgb(181, 183, 56)
HSLhsl(61, 53%, 47%)
HSVhsv(61, 69%, 72%)
CMYKcmyk(1.1%, 0%, 69.4%, 28.2%)
CIE-LABlab(72.21, -16.12, 60.98)
CIE-LCHlch(72.21, 63.07, 104.81°)
OKLaboklab(75.49% -0.0503 0.1359)
OKLCHoklch(75.49% 0.145 110.3)
XYZxyz(36.7046, 43.9773, 10.2956)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B738 #3A38B7
analogous
#B77A38 #B5B738 #76B738
triadic
#B5B738 #38B5B7 #B738B5
tetradic
#B5B738 #38B77A #3A38B7 #B73876
square
#B5B738 #38B77A #3A38B7 #B73876
split-complementary
#B5B738 #3876B7 #7A38B7
monochromatic
#58591B #87882A #B5B738 #CCCE5E #DBDC8D

Accessibility & contrast

On white

2.14
#B5B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B5B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B738
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B738#FFFFFF#000000##000000
##B5B7381.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF23
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b738;
/* rgb */ color: rgb(181, 183, 56);
/* oklch */ color: oklch(75.5% 0.145 110.3);
Tailwind
colors: {
  custom: {
    50: '#cecc77',
    500: '#b5b738',
    950: '#000000',
  },
}
SCSS
$custom: #b5b738;
$custom-light: #cecc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b738",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 60.945,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75492,
    "c": 0.14488,
    "h": 110.3
  },
  "luminance": 0.43976
}

Semantic roles & 50–950 ramp

primary
#B5B738
secondary
#8584C7
accent
#4BDD4E
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B738

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

Preview Lab → · Contrast checker → · Palette generator →

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