#B7C838#B7C838

#B7C838 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.4% C 0.163 H 116.1°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#B7C838
RGBrgb(183, 200, 56)
HSLhsl(67, 57%, 50%)
HSVhsv(67, 72%, 78%)
CMYKcmyk(8.5%, 0%, 72%, 21.6%)
CIE-LABlab(77.08, -23.72, 65.78)
CIE-LCHlch(77.08, 69.93, 109.83°)
OKLaboklab(79.43% -0.0716 0.1459)
OKLCHoklch(79.43% 0.163 116.1)
XYZxyz(40.8976, 51.6619, 11.5579)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C838 #4938C8
analogous
#C89138 #B7C838 #6FC838
triadic
#B7C838 #38B7C8 #C838B7
tetradic
#B7C838 #38C891 #4938C8 #C8386F
square
#B7C838 #38C891 #4938C8 #C8386F
split-complementary
#B7C838 #386FC8 #9138C8
monochromatic
#60691D #8C992A #B7C838 #C8D568 #DAE398

Accessibility & contrast

On white

1.85
#B7C838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#B7C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C838
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C838#FFFFFF#000000##000000
##B7C8381.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1D
Deuteranopia (green-blind)
#D5BF44
Tritanopia (blue-blind)
#C3BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c838;
/* rgb */ color: rgb(183, 200, 56);
/* oklch */ color: oklch(79.4% 0.163 116.1);
Tailwind
colors: {
  custom: {
    50: '#d0d878',
    500: '#b7c838',
    950: '#000000',
  },
}
SCSS
$custom: #b7c838;
$custom-light: #d0d878;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c838",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 67.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79427,
    "c": 0.16255,
    "h": 116.1
  },
  "luminance": 0.51661
}

Semantic roles & 50–950 ramp

primary
#B7C838
secondary
#393273
accent
#48E05A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C838

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

Preview Lab → · Contrast checker → · Palette generator →

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