#B7CA2A#B7CA2A

#B7CA2A is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.8% C 0.172 H 116.6°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#B7CA2A
RGBrgb(183, 202, 42)
HSLhsl(67, 66%, 48%)
HSVhsv(67, 79%, 79%)
CMYKcmyk(9.4%, 0%, 79.2%, 20.8%)
CIE-LABlab(77.56, -25.30, 70.62)
CIE-LCHlch(77.56, 75.01, 109.71°)
OKLaboklab(79.8% -0.077 0.1538)
OKLCHoklch(79.8% 0.172 116.6)
XYZxyz(41.0680, 52.4761, 10.1555)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA2A #3D2ACA
analogous
#CA8D2A #B7CA2A #67CA2A
triadic
#B7CA2A #2AB7CA #CA2AB7
tetradic
#B7CA2A #2ACA8D #3D2ACA #CA2A67
square
#B7CA2A #2ACA8D #3D2ACA #CA2A67
split-complementary
#B7CA2A #2A67CA #8D2ACA
monochromatic
#5B6515 #89971F #B7CA2A #CCDC55 #DBE688

Accessibility & contrast

On white

1.83
#B7CA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#B7CA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CA2A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CA2A#FFFFFF#000000##000000
##B7CA2A1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#C3BEAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b7ca2a;
/* rgb */ color: rgb(183, 202, 42);
/* oklch */ color: oklch(79.8% 0.172 116.6);
Tailwind
colors: {
  custom: {
    50: '#d1da72',
    500: '#b7ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca2a;
$custom-light: #d1da72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca2a",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 67.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79795,
    "c": 0.17202,
    "h": 116.6
  },
  "luminance": 0.52476
}

Semantic roles & 50–950 ramp

primary
#B7CA2A
secondary
#31296F
accent
#3FE953
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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