#B7C236#B7C236

#B7C236 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.1% C 0.157 H 114.0°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#B7C236
RGBrgb(183, 194, 54)
HSLhsl(65, 56%, 49%)
HSVhsv(65, 72%, 76%)
CMYKcmyk(5.7%, 0%, 72.2%, 23.9%)
CIE-LABlab(75.40, -20.88, 64.86)
CIE-LCHlch(75.40, 68.14, 107.84°)
OKLaboklab(78.08% -0.0639 0.1437)
OKLCHoklch(78.08% 0.157 114)
XYZxyz(39.4872, 48.9180, 10.8513)
Luminance0.4892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C236 #4136C2
analogous
#C28736 #B7C236 #71C236
triadic
#B7C236 #36B7C2 #C236B7
tetradic
#B7C236 #36C287 #4136C2 #C23671
square
#B7C236 #36C287 #4136C2 #C23671
split-complementary
#B7C236 #3671C2 #8736C2
monochromatic
#5D621B #8A9229 #B7C236 #CAD362 #DAE192

Accessibility & contrast

On white

1.95
#B7C236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#B7C236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C236
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C236#FFFFFF#000000##000000
##B7C2361.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81B
Deuteranopia (green-blind)
#D0BB41
Tritanopia (blue-blind)
#C3B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c236;
/* rgb */ color: rgb(183, 194, 54);
/* oklch */ color: oklch(78.1% 0.157 114.0);
Tailwind
colors: {
  custom: {
    50: '#d0d477',
    500: '#b7c236',
    950: '#000000',
  },
}
SCSS
$custom: #b7c236;
$custom-light: #d0d477;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c236",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 54
  },
  "hsl": {
    "h": 64.714,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78077,
    "c": 0.15722,
    "h": 114
  },
  "luminance": 0.48917
}

Semantic roles & 50–950 ramp

primary
#B7C236
secondary
#8E88CC
accent
#48E054
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C236

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

Preview Lab → · Contrast checker → · Palette generator →

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