#B5B635#B5B635

#B5B635 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.146 H 109.9°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B5B635
RGBrgb(181, 182, 53)
HSLhsl(60, 55%, 46%)
HSVhsv(60, 71%, 71%)
CMYKcmyk(0.5%, 0%, 70.9%, 28.6%)
CIE-LABlab(71.92, -15.77, 61.79)
CIE-LCHlch(71.92, 63.77, 104.31°)
OKLaboklab(75.25% -0.0496 0.1371)
OKLCHoklch(75.25% 0.146 109.9)
XYZxyz(36.4279, 43.5377, 9.8522)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B635 #3635B6
analogous
#B67635 #B5B635 #74B635
triadic
#B5B635 #35B5B6 #B635B5
tetradic
#B5B635 #35B676 #3635B6 #B63574
square
#B5B635 #35B676 #3635B6 #B63574
split-complementary
#B5B635 #3574B6 #7635B6
monochromatic
#575719 #868727 #B5B635 #CECF59 #DCDD89

Accessibility & contrast

On white

2.16
#B5B635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B5B635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B635
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B635#FFFFFF#000000##000000
##B5B6351.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE1E
Deuteranopia (green-blind)
#C6B23F
Tritanopia (blue-blind)
#C2AA9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b635;
/* rgb */ color: rgb(181, 182, 53);
/* oklch */ color: oklch(75.3% 0.146 109.9);
Tailwind
colors: {
  custom: {
    50: '#cfcb75',
    500: '#b5b635',
    950: '#000000',
  },
}
SCSS
$custom: #b5b635;
$custom-light: #cfcb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b635",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 53
  },
  "hsl": {
    "h": 60.465,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7525,
    "c": 0.14577,
    "h": 109.9
  },
  "luminance": 0.43537
}

Semantic roles & 50–950 ramp

primary
#B5B635
secondary
#8180C7
accent
#4ADE4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B635

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

Preview Lab → · Contrast checker → · Palette generator →

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