#B0C334#B0C334

#B0C334 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.7% C 0.162 H 117.0°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#B0C334
RGBrgb(176, 195, 52)
HSLhsl(68, 58%, 48%)
HSVhsv(68, 73%, 76%)
CMYKcmyk(9.7%, 0%, 73.3%, 23.5%)
CIE-LABlab(75.14, -24.39, 65.12)
CIE-LCHlch(75.14, 69.54, 110.53°)
OKLaboklab(77.74% -0.0734 0.1441)
OKLCHoklch(77.74% 0.162 117)
XYZxyz(38.0404, 48.5087, 10.6073)
Luminance0.4851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C334 #4734C3
analogous
#C38E34 #B0C334 #68C334
triadic
#B0C334 #34B0C3 #C334B0
tetradic
#B0C334 #34C38E #4734C3 #C33468
square
#B0C334 #34C38E #4734C3 #C33468
split-complementary
#B0C334 #3468C3 #8E34C3
monochromatic
#59621A #849327 #B0C334 #C5D560 #D7E190

Accessibility & contrast

On white

1.96
#B0C334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#B0C334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C334
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C334#FFFFFF#000000##000000
##B0C3341.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B816
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#BBB8A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b0c334;
/* rgb */ color: rgb(176, 195, 52);
/* oklch */ color: oklch(77.7% 0.162 117.0);
Tailwind
colors: {
  custom: {
    50: '#cbd576',
    500: '#b0c334',
    950: '#000000',
  },
}
SCSS
$custom: #b0c334;
$custom-light: #cbd576;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c334",
  "rgb": {
    "r": 176,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 67.972,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77738,
    "c": 0.1617,
    "h": 117
  },
  "luminance": 0.48508
}

Semantic roles & 50–950 ramp

primary
#B0C334
secondary
#9087CC
accent
#47E15B
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #B0C334

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

Preview Lab → · Contrast checker → · Palette generator →

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