#B7C936#B7C936

#B7C936 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.165 H 116.4°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#B7C936
RGBrgb(183, 201, 54)
HSLhsl(67, 58%, 50%)
HSVhsv(67, 73%, 79%)
CMYKcmyk(9%, 0%, 73.1%, 21.2%)
CIE-LABlab(77.35, -24.31, 66.72)
CIE-LCHlch(77.35, 71.01, 110.02°)
OKLaboklab(79.64% -0.0734 0.1476)
OKLCHoklch(79.64% 0.165 116.4)
XYZxyz(41.0820, 52.1075, 11.3829)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C936 #4836C9
analogous
#C99236 #B7C936 #6DC936
triadic
#B7C936 #36B7C9 #C936B7
tetradic
#B7C936 #36C992 #4836C9 #C9366D
square
#B7C936 #36C992 #4836C9 #C9366D
split-complementary
#B7C936 #366DC9 #9236C9
monochromatic
#5F691C #8B9929 #B7C936 #C8D666 #DAE396

Accessibility & contrast

On white

1.84
#B7C936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#B7C936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C936
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C936#FFFFFF#000000##000000
##B7C9361.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE18
Deuteranopia (green-blind)
#D5C042
Tritanopia (blue-blind)
#C3BEAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c936;
/* rgb */ color: rgb(183, 201, 54);
/* oklch */ color: oklch(79.6% 0.165 116.4);
Tailwind
colors: {
  custom: {
    50: '#d0d978',
    500: '#b7c936',
    950: '#000000',
  },
}
SCSS
$custom: #b7c936;
$custom-light: #d0d978;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c936",
  "rgb": {
    "r": 183,
    "g": 201,
    "b": 54
  },
  "hsl": {
    "h": 67.347,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.79638,
    "c": 0.16483,
    "h": 116.4
  },
  "luminance": 0.52107
}

Semantic roles & 50–950 ramp

primary
#B7C936
secondary
#393173
accent
#47E15A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C936

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

Preview Lab → · Contrast checker → · Palette generator →

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