#B7CF38#B7CF38

#B7CF38 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.0% C 0.170 H 118.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#B7CF38
RGBrgb(183, 207, 56)
HSLhsl(70, 61%, 52%)
HSVhsv(70, 73%, 81%)
CMYKcmyk(11.6%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.03, -27.10, 67.66)
CIE-LCHlch(79.03, 72.88, 111.83°)
OKLaboklab(80.99% -0.0809 0.1499)
OKLCHoklch(80.99% 0.17 118.4)
XYZxyz(42.5560, 54.9788, 12.1107)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CF38 #5038CF
analogous
#CF9B38 #B7CF38 #6CCF38
triadic
#B7CF38 #38B7CF #CF38B7
tetradic
#B7CF38 #38CF9B #5038CF #CF386C
square
#B7CF38 #38CF9B #5038CF #CF386C
split-complementary
#B7CF38 #386CCF #9B38CF
monochromatic
#64711B #8FA327 #B7CF38 #C9DB69 #DBE79B

Accessibility & contrast

On white

1.75
#B7CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#B7CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CF38
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CF38#FFFFFF#000000##000000
##B7CF381.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC319
Deuteranopia (green-blind)
#DAC445
Tritanopia (blue-blind)
#C2C4B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b7cf38;
/* rgb */ color: rgb(183, 207, 56);
/* oklch */ color: oklch(81.0% 0.170 118.4);
Tailwind
colors: {
  custom: {
    50: '#d0dd79',
    500: '#b7cf38',
    950: '#000000',
  },
}
SCSS
$custom: #b7cf38;
$custom-light: #d0dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cf38",
  "rgb": {
    "r": 183,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 69.536,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80995,
    "c": 0.17034,
    "h": 118.4
  },
  "luminance": 0.54978
}

Semantic roles & 50–950 ramp

primary
#B7CF38
secondary
#3D317A
accent
#44E45D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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