#B7CD40#B7CD40

#B7CD40 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.163 H 117.9°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#B7CD40
RGBrgb(183, 205, 64)
HSLhsl(69, 59%, 53%)
HSVhsv(69, 69%, 80%)
CMYKcmyk(10.7%, 0%, 68.8%, 19.6%)
CIE-LABlab(78.52, -25.71, 64.32)
CIE-LCHlch(78.52, 69.27, 111.79°)
OKLaboklab(80.6% -0.0764 0.1442)
OKLCHoklch(80.6% 0.163 117.9)
XYZxyz(42.2861, 54.1005, 13.0643)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CD40 #5640CD
analogous
#CD9D40 #B7CD40 #70CD40
triadic
#B7CD40 #40B7CD #CD40B7
tetradic
#B7CD40 #40CD9D #5640CD #CD4070
square
#B7CD40 #40CD9D #5640CD #CD4070
split-complementary
#B7CD40 #4070CD #9D40CD
monochromatic
#67741E #92A52B #B7CD40 #C9DA71 #DCE6A1

Accessibility & contrast

On white

1.78
#B7CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#B7CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CD40
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CD40#FFFFFF#000000##000000
##B7CD401.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#C2C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cd40;
/* rgb */ color: rgb(183, 205, 64);
/* oklch */ color: oklch(80.6% 0.163 117.9);
Tailwind
colors: {
  custom: {
    50: '#d0dc7d',
    500: '#b7cd40',
    950: '#000000',
  },
}
SCSS
$custom: #b7cd40;
$custom-light: #d0dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cd40",
  "rgb": {
    "r": 183,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 69.362,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80601,
    "c": 0.16315,
    "h": 117.9
  },
  "luminance": 0.541
}

Semantic roles & 50–950 ramp

primary
#B7CD40
secondary
#40347D
accent
#46E25E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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