#B7CD3A#B7CD3A

#B7CD3A is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.6% C 0.167 H 117.8°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#B7CD3A
RGBrgb(183, 205, 58)
HSLhsl(69, 60%, 52%)
HSVhsv(69, 72%, 80%)
CMYKcmyk(10.7%, 0%, 71.7%, 19.6%)
CIE-LABlab(78.48, -26.04, 66.45)
CIE-LCHlch(78.48, 71.37, 111.40°)
OKLaboklab(80.56% -0.0778 0.1477)
OKLCHoklch(80.56% 0.167 117.8)
XYZxyz(42.1244, 54.0358, 12.2130)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CD3A #503ACD
analogous
#CD9A3A #B7CD3A #6ECD3A
triadic
#B7CD3A #3AB7CD #CD3AB7
tetradic
#B7CD3A #3ACD9A #503ACD #CD3A6E
square
#B7CD3A #3ACD9A #503ACD #CD3A6E
split-complementary
#B7CD3A #3A6ECD #9A3ACD
monochromatic
#64701C #8FA129 #B7CD3A #C9D96B #DBE69C

Accessibility & contrast

On white

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

On black

11.81
#B7CD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CD3A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CD3A#FFFFFF#000000##000000
##B7CD3A1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7cd3a;
/* rgb */ color: rgb(183, 205, 58);
/* oklch */ color: oklch(80.6% 0.167 117.8);
Tailwind
colors: {
  custom: {
    50: '#d0dc7a',
    500: '#b7cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7cd3a;
$custom-light: #d0dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cd3a",
  "rgb": {
    "r": 183,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 68.98,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80559,
    "c": 0.16692,
    "h": 117.8
  },
  "luminance": 0.54035
}

Semantic roles & 50–950 ramp

primary
#B7CD3A
secondary
#3D3279
accent
#45E35D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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