#B0B631#B0B631

#B0B631 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.8% C 0.149 H 112.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B0B631
RGBrgb(176, 182, 49)
HSLhsl(63, 58%, 45%)
HSVhsv(63, 73%, 71%)
CMYKcmyk(3.3%, 0%, 73.1%, 28.6%)
CIE-LABlab(71.49, -18.10, 62.66)
CIE-LCHlch(71.49, 65.23, 106.11°)
OKLaboklab(74.8% -0.0562 0.1384)
OKLCHoklch(74.8% 0.149 112.1)
XYZxyz(35.1880, 42.9086, 9.3337)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B631 #3731B6
analogous
#B67A31 #B0B631 #6DB631
triadic
#B0B631 #31B0B6 #B631B0
tetradic
#B0B631 #31B67A #3731B6 #B6316D
square
#B0B631 #31B67A #3731B6 #B6316D
split-complementary
#B0B631 #316DB6 #7A31B6
monochromatic
#535617 #818624 #B0B631 #CBD153 #DADE84

Accessibility & contrast

On white

2.19
#B0B631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#B0B631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B631
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B631#FFFFFF#000000##000000
##B0B6311.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD16
Deuteranopia (green-blind)
#C4B13C
Tritanopia (blue-blind)
#BCAB9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b0b631;
/* rgb */ color: rgb(176, 182, 49);
/* oklch */ color: oklch(74.8% 0.149 112.1);
Tailwind
colors: {
  custom: {
    50: '#cbcb73',
    500: '#b0b631',
    950: '#000000',
  },
}
SCSS
$custom: #b0b631;
$custom-light: #cbcb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b631",
  "rgb": {
    "r": 176,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 62.707,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74804,
    "c": 0.14936,
    "h": 112.1
  },
  "luminance": 0.42908
}

Semantic roles & 50–950 ramp

primary
#B0B631
secondary
#7F7CC7
accent
#47E14E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B631

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

Preview Lab → · Contrast checker → · Palette generator →

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