#B7C336#B7C336

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

Color values

HEX#B7C336
RGBrgb(183, 195, 54)
HSLhsl(65, 57%, 49%)
HSVhsv(65, 72%, 76%)
CMYKcmyk(6.2%, 0%, 72.3%, 23.5%)
CIE-LABlab(75.68, -21.37, 65.13)
CIE-LCHlch(75.68, 68.54, 108.17°)
OKLaboklab(78.3% -0.0652 0.1442)
OKLCHoklch(78.3% 0.158 114.3)
XYZxyz(39.7105, 49.3646, 10.9257)
Luminance0.4936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C336 #4236C3
analogous
#C38936 #B7C336 #71C336
triadic
#B7C336 #36B7C3 #C336B7
tetradic
#B7C336 #36C389 #4236C3 #C33671
square
#B7C336 #36C389 #4236C3 #C33671
split-complementary
#B7C336 #3671C3 #8936C3
monochromatic
#5D631B #8A9329 #B7C336 #CAD463 #DAE192

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C336#FFFFFF#000000##000000
##B7C3361.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)
#D1B91B
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#C3B7A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c336;
/* rgb */ color: rgb(183, 195, 54);
/* oklch */ color: oklch(78.3% 0.158 114.3);
Tailwind
colors: {
  custom: {
    50: '#d0d577',
    500: '#b7c336',
    950: '#000000',
  },
}
SCSS
$custom: #b7c336;
$custom-light: #d0d577;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c336",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 65.106,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78299,
    "c": 0.15829,
    "h": 114.3
  },
  "luminance": 0.49364
}

Semantic roles & 50–950 ramp

primary
#B7C336
secondary
#8F89CC
accent
#48E055
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B7C336

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

Preview Lab → · Contrast checker → · Palette generator →

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