#B0B334#B0B334

#B0B334 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.144 H 110.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B0B334
RGBrgb(176, 179, 52)
HSLhsl(61, 55%, 45%)
HSVhsv(61, 71%, 70%)
CMYKcmyk(1.7%, 0%, 70.9%, 29.8%)
CIE-LABlab(70.68, -16.44, 60.81)
CIE-LCHlch(70.68, 63.00, 105.13°)
OKLaboklab(74.16% -0.0513 0.135)
OKLCHoklch(74.16% 0.144 110.8)
XYZxyz(34.6456, 41.7192, 9.4757)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B334 #3734B3
analogous
#B37634 #B0B334 #71B334
triadic
#B0B334 #34B0B3 #B334B0
tetradic
#B0B334 #34B376 #3734B3 #B33471
square
#B0B334 #34B376 #3734B3 #B33471
split-complementary
#B0B334 #3471B3 #7634B3
monochromatic
#535418 #818426 #B0B334 #CBCE56 #DADC86

Accessibility & contrast

On white

2.25
#B0B334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B0B334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B334
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B334#FFFFFF#000000##000000
##B0B3341.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1E
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#BCA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b0b334;
/* rgb */ color: rgb(176, 179, 52);
/* oklch */ color: oklch(74.2% 0.144 110.8);
Tailwind
colors: {
  custom: {
    50: '#cbc974',
    500: '#b0b334',
    950: '#000000',
  },
}
SCSS
$custom: #b0b334;
$custom-light: #cbc974;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b334",
  "rgb": {
    "r": 176,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 61.417,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74157,
    "c": 0.1444,
    "h": 110.8
  },
  "luminance": 0.41718
}

Semantic roles & 50–950 ramp

primary
#B0B334
secondary
#7F7DC5
accent
#49DE4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B334

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

Preview Lab → · Contrast checker → · Palette generator →

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