#B7CD42#B7CD42

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

Color values

HEX#B7CD42
RGBrgb(183, 205, 66)
HSLhsl(69, 58%, 53%)
HSVhsv(69, 68%, 80%)
CMYKcmyk(10.7%, 0%, 67.8%, 19.6%)
CIE-LABlab(78.53, -25.60, 63.58)
CIE-LCHlch(78.53, 68.54, 111.93°)
OKLaboklab(80.62% -0.0759 0.1429)
OKLCHoklch(80.62% 0.162 118)
XYZxyz(42.3440, 54.1237, 13.3694)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CD42 #5842CD
analogous
#CD9D42 #B7CD42 #72CD42
triadic
#B7CD42 #42B7CD #CD42B7
tetradic
#B7CD42 #42CD9D #5842CD #CD4272
square
#B7CD42 #42CD9D #5842CD #CD4272
split-complementary
#B7CD42 #4272CD #9D42CD
monochromatic
#68761F #93A62C #B7CD42 #C9DA72 #DCE7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CD42#FFFFFF#000000##000000
##B7CD421.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)
#DAC22D
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#C2C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cd42;
/* rgb */ color: rgb(183, 205, 66);
/* oklch */ color: oklch(80.6% 0.162 118.0);
Tailwind
colors: {
  custom: {
    50: '#d0dc7e',
    500: '#b7cd42',
    950: '#000000',
  },
}
SCSS
$custom: #b7cd42;
$custom-light: #d0dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cd42",
  "rgb": {
    "r": 183,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 69.496,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80617,
    "c": 0.16181,
    "h": 118
  },
  "luminance": 0.54123
}

Semantic roles & 50–950 ramp

primary
#B7CD42
secondary
#41357E
accent
#46E15F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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