#B7CD38#B7CD38

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

Color values

HEX#B7CD38
RGBrgb(183, 205, 56)
HSLhsl(69, 60%, 51%)
HSVhsv(69, 73%, 80%)
CMYKcmyk(10.7%, 0%, 72.7%, 19.6%)
CIE-LABlab(78.47, -26.14, 67.12)
CIE-LCHlch(78.47, 72.03, 111.28°)
OKLaboklab(80.55% -0.0783 0.1488)
OKLCHoklch(80.55% 0.168 117.8)
XYZxyz(42.0745, 54.0159, 11.9502)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CD38 #4E38CD
analogous
#CD9838 #B7CD38 #6CCD38
triadic
#B7CD38 #38B7CD #CD38B7
tetradic
#B7CD38 #38CD98 #4E38CD #CD386C
square
#B7CD38 #38CD98 #4E38CD #CD386C
split-complementary
#B7CD38 #386CCD #9838CD
monochromatic
#636F1C #8EA028 #B7CD38 #C9D969 #DAE69A

Accessibility & contrast

On white

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

On black

11.80
#B7CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CD38
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CD38#FFFFFF#000000##000000
##B7CD381.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#C2C2B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cd38;
/* rgb */ color: rgb(183, 205, 56);
/* oklch */ color: oklch(80.5% 0.168 117.8);
Tailwind
colors: {
  custom: {
    50: '#d0dc79',
    500: '#b7cd38',
    950: '#000000',
  },
}
SCSS
$custom: #b7cd38;
$custom-light: #d0dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cd38",
  "rgb": {
    "r": 183,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 68.859,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80546,
    "c": 0.16811,
    "h": 117.8
  },
  "luminance": 0.54015
}

Semantic roles & 50–950 ramp

primary
#B7CD38
secondary
#3C3178
accent
#45E35C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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