#B7C334#B7C334

#B7C334 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.3% C 0.159 H 114.3°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#B7C334
RGBrgb(183, 195, 52)
HSLhsl(65, 58%, 48%)
HSVhsv(65, 73%, 76%)
CMYKcmyk(6.2%, 0%, 73.3%, 23.5%)
CIE-LABlab(75.67, -21.47, 65.80)
CIE-LCHlch(75.67, 69.21, 108.07°)
OKLaboklab(78.29% -0.0657 0.1453)
OKLCHoklch(78.29% 0.159 114.3)
XYZxyz(39.6645, 49.3462, 10.6834)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C334 #4034C3
analogous
#C38734 #B7C334 #6FC334
triadic
#B7C334 #34B7C3 #C334B7
tetradic
#B7C334 #34C387 #4034C3 #C3346F
square
#B7C334 #34C387 #4034C3 #C3346F
split-complementary
#B7C334 #346FC3 #8734C3
monochromatic
#5C621A #8A9327 #B7C334 #CBD560 #DBE190

Accessibility & contrast

On white

1.93
#B7C334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#B7C334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C334
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C334#FFFFFF#000000##000000
##B7C3341.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B916
Deuteranopia (green-blind)
#D1BC40
Tritanopia (blue-blind)
#C3B7A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c334;
/* rgb */ color: rgb(183, 195, 52);
/* oklch */ color: oklch(78.3% 0.159 114.3);
Tailwind
colors: {
  custom: {
    50: '#d0d576',
    500: '#b7c334',
    950: '#000000',
  },
}
SCSS
$custom: #b7c334;
$custom-light: #d0d576;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c334",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 65.035,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78287,
    "c": 0.15945,
    "h": 114.3
  },
  "luminance": 0.49345
}

Semantic roles & 50–950 ramp

primary
#B7C334
secondary
#8D87CC
accent
#47E154
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B7C334

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

Preview Lab → · Contrast checker → · Palette generator →

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