#B7C539#B7C539

#B7C539 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#B7C539
RGBrgb(183, 197, 57)
HSLhsl(66, 55%, 50%)
HSVhsv(66, 71%, 77%)
CMYKcmyk(7.1%, 0%, 71.1%, 22.7%)
CIE-LABlab(76.25, -22.21, 64.63)
CIE-LCHlch(76.25, 68.34, 108.96°)
OKLaboklab(78.77% -0.0673 0.1437)
OKLCHoklch(78.77% 0.159 115.1)
XYZxyz(40.2343, 50.2959, 11.4587)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C539 #4739C5
analogous
#C58D39 #B7C539 #71C539
triadic
#B7C539 #39B7C5 #C539B7
tetradic
#B7C539 #39C58D #4739C5 #C53971
square
#B7C539 #39C58D #4739C5 #C53971
split-complementary
#B7C539 #3971C5 #8D39C5
monochromatic
#5F661E #8B962B #B7C539 #C9D368 #DAE197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C539#FFFFFF#000000##000000
##B7C5391.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)
#D3BB20
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#C3BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c539;
/* rgb */ color: rgb(183, 197, 57);
/* oklch */ color: oklch(78.8% 0.159 115.1);
Tailwind
colors: {
  custom: {
    50: '#d0d679',
    500: '#b7c539',
    950: '#000000',
  },
}
SCSS
$custom: #b7c539;
$custom-light: #d0d679;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c539",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 57
  },
  "hsl": {
    "h": 66,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78765,
    "c": 0.15865,
    "h": 115.1
  },
  "luminance": 0.50295
}

Semantic roles & 50–950 ramp

primary
#B7C539
secondary
#383270
accent
#49DE58
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C539

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

Preview Lab → · Contrast checker → · Palette generator →

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