#B7C538#B7C538

#B7C538 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.8% C 0.159 H 115.1°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#B7C538
RGBrgb(183, 197, 56)
HSLhsl(66, 56%, 50%)
HSVhsv(66, 72%, 77%)
CMYKcmyk(7.1%, 0%, 71.6%, 22.7%)
CIE-LABlab(76.24, -22.26, 64.98)
CIE-LCHlch(76.24, 68.68, 108.91°)
OKLaboklab(78.76% -0.0675 0.1442)
OKLCHoklch(78.76% 0.159 115.1)
XYZxyz(40.2096, 50.2860, 11.3286)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C538 #4638C5
analogous
#C58C38 #B7C538 #71C538
triadic
#B7C538 #38B7C5 #C538B7
tetradic
#B7C538 #38C58C #4638C5 #C53871
square
#B7C538 #38C58C #4638C5 #C53871
split-complementary
#B7C538 #3871C5 #8C38C5
monochromatic
#5E661D #8B952A #B7C538 #C9D467 #DAE196

Accessibility & contrast

On white

1.90
#B7C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#B7C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C538
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C538#FFFFFF#000000##000000
##B7C5381.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1E
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#C3BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c538;
/* rgb */ color: rgb(183, 197, 56);
/* oklch */ color: oklch(78.8% 0.159 115.1);
Tailwind
colors: {
  custom: {
    50: '#d0d678',
    500: '#b7c538',
    950: '#000000',
  },
}
SCSS
$custom: #b7c538;
$custom-light: #d0d678;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c538",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 65.957,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78758,
    "c": 0.15926,
    "h": 115.1
  },
  "luminance": 0.50285
}

Semantic roles & 50–950 ramp

primary
#B7C538
secondary
#373170
accent
#49DF58
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C538

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

Preview Lab → · Contrast checker → · Palette generator →

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