#B7C134#B7C134

#B7C134 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.8% C 0.157 H 113.6°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#B7C134
RGBrgb(183, 193, 52)
HSLhsl(64, 58%, 48%)
HSVhsv(64, 73%, 76%)
CMYKcmyk(5.2%, 0%, 73.1%, 24.3%)
CIE-LABlab(75.11, -20.48, 65.27)
CIE-LCHlch(75.11, 68.41, 107.42°)
OKLaboklab(77.84% -0.0629 0.1442)
OKLCHoklch(77.84% 0.157 113.6)
XYZxyz(39.2194, 48.4560, 10.5351)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C134 #3E34C1
analogous
#C18434 #B7C134 #71C134
triadic
#B7C134 #34B7C1 #C134B7
tetradic
#B7C134 #34C184 #3E34C1 #C13471
square
#B7C134 #34C184 #3E34C1 #C13471
split-complementary
#B7C134 #3471C1 #8434C1
monochromatic
#5C611A #899127 #B7C134 #CBD45E #DBE18F

Accessibility & contrast

On white

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

On black

10.69
#B7C134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C134
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C134#FFFFFF#000000##000000
##B7C1341.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7c134;
/* rgb */ color: rgb(183, 193, 52);
/* oklch */ color: oklch(77.8% 0.157 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d376',
    500: '#b7c134',
    950: '#000000',
  },
}
SCSS
$custom: #b7c134;
$custom-light: #d0d376;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c134",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 52
  },
  "hsl": {
    "h": 64.255,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77842,
    "c": 0.15732,
    "h": 113.6
  },
  "luminance": 0.48455
}

Semantic roles & 50–950 ramp

primary
#B7C134
secondary
#8A86CB
accent
#47E152
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C134

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

Preview Lab → · Contrast checker → · Palette generator →

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