#B7CA3B#B7CA3B

#B7CA3B is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.163 H 116.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#B7CA3B
RGBrgb(183, 202, 59)
HSLhsl(68, 57%, 51%)
HSVhsv(68, 71%, 79%)
CMYKcmyk(9.4%, 0%, 70.8%, 20.8%)
CIE-LABlab(77.65, -24.54, 65.29)
CIE-LCHlch(77.65, 69.75, 110.60°)
OKLaboklab(79.89% -0.0736 0.1454)
OKLCHoklch(79.89% 0.163 116.8)
XYZxyz(41.4394, 52.6246, 12.1114)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA3B #4E3BCA
analogous
#CA953B #B7CA3B #6FCA3B
triadic
#B7CA3B #3BB7CA #CA3BB7
tetradic
#B7CA3B #3BCA95 #4E3BCA #CA3B6F
square
#B7CA3B #3BCA95 #4E3BCA #CA3B6F
split-complementary
#B7CA3B #3B6FCA #953BCA
monochromatic
#636D1E #8E9D2B #B7CA3B #C9D76B #DAE49B

Accessibility & contrast

On white

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

On black

11.52
#B7CA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CA3B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CA3B#FFFFFF#000000##000000
##B7CA3B1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF22
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#C2BFAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b7ca3b;
/* rgb */ color: rgb(183, 202, 59);
/* oklch */ color: oklch(79.9% 0.163 116.8);
Tailwind
colors: {
  custom: {
    50: '#d0da7a',
    500: '#b7ca3b',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca3b;
$custom-light: #d0da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca3b",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 67.972,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79894,
    "c": 0.16295,
    "h": 116.8
  },
  "luminance": 0.52624
}

Semantic roles & 50–950 ramp

primary
#B7CA3B
secondary
#3C3377
accent
#47E15C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7CA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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