#B7CA40#B7CA40

#B7CA40 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 79.9% C 0.160 H 116.9°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#B7CA40
RGBrgb(183, 202, 64)
HSLhsl(68, 57%, 52%)
HSVhsv(68, 68%, 79%)
CMYKcmyk(9.4%, 0%, 68.3%, 20.8%)
CIE-LABlab(77.69, -24.27, 63.48)
CIE-LCHlch(77.69, 67.96, 110.92°)
OKLaboklab(79.93% -0.0724 0.1424)
OKLCHoklch(79.93% 0.16 116.9)
XYZxyz(41.5753, 52.6790, 12.8274)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA40 #5340CA
analogous
#CA9840 #B7CA40 #72CA40
triadic
#B7CA40 #40B7CA #CA40B7
tetradic
#B7CA40 #40CA98 #5340CA #CA4072
square
#B7CA40 #40CA98 #5340CA #CA4072
split-complementary
#B7CA40 #4072CA #9840CA
monochromatic
#65701F #90A02C #B7CA40 #C9D770 #DBE5A0

Accessibility & contrast

On white

1.82
#B7CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#B7CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CA40
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CA40#FFFFFF#000000##000000
##B7CA401.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF2B
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#C2BFAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b7ca40;
/* rgb */ color: rgb(183, 202, 64);
/* oklch */ color: oklch(79.9% 0.160 116.9);
Tailwind
colors: {
  custom: {
    50: '#d0da7d',
    500: '#b7ca40',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca40;
$custom-light: #d0da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca40",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 68.261,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7993,
    "c": 0.15972,
    "h": 116.9
  },
  "luminance": 0.52679
}

Semantic roles & 50–950 ramp

primary
#B7CA40
secondary
#3E357A
accent
#48E05D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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