#B0B645#B0B645

#B0B645 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.135 H 112.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#B0B645
RGBrgb(176, 182, 69)
HSLhsl(63, 45%, 49%)
HSVhsv(63, 62%, 71%)
CMYKcmyk(3.3%, 0%, 62.1%, 28.6%)
CIE-LABlab(71.63, -16.95, 55.02)
CIE-LCHlch(71.63, 57.57, 107.12°)
OKLaboklab(74.96% -0.051 0.1255)
OKLCHoklch(74.96% 0.135 112.1)
XYZxyz(35.7076, 43.1165, 12.0704)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B645 #4B45B6
analogous
#B68445 #B0B645 #78B645
triadic
#B0B645 #45B0B6 #B645B0
tetradic
#B0B645 #45B684 #4B45B6 #B64578
square
#B0B645 #45B684 #4B45B6 #B64578
split-complementary
#B0B645 #4578B6 #8445B6
monochromatic
#5A5D23 #858A34 #B0B645 #C4C970 #D6D99C

Accessibility & contrast

On white

2.18
#B0B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#B0B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B645
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B645#FFFFFF#000000##000000
##B0B6451.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#BBAC9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b0b645;
/* rgb */ color: rgb(176, 182, 69);
/* oklch */ color: oklch(75.0% 0.135 112.1);
Tailwind
colors: {
  custom: {
    50: '#cacb7e',
    500: '#b0b645',
    950: '#000000',
  },
}
SCSS
$custom: #b0b645;
$custom-light: #cacb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b645",
  "rgb": {
    "r": 176,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 63.186,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74962,
    "c": 0.13544,
    "h": 112.1
  },
  "luminance": 0.43116
}

Semantic roles & 50–950 ramp

primary
#B0B645
secondary
#9491C6
accent
#53D55A
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B0B645

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

Preview Lab → · Contrast checker → · Palette generator →

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