#B7CA3A#B7CA3A

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

Color values

HEX#B7CA3A
RGBrgb(183, 202, 58)
HSLhsl(68, 58%, 51%)
HSVhsv(68, 71%, 79%)
CMYKcmyk(9.4%, 0%, 71.3%, 20.8%)
CIE-LABlab(77.65, -24.59, 65.63)
CIE-LCHlch(77.65, 70.09, 110.54°)
OKLaboklab(79.89% -0.0738 0.146)
OKLCHoklch(79.89% 0.164 116.8)
XYZxyz(41.4137, 52.6144, 11.9761)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA3A #4D3ACA
analogous
#CA953A #B7CA3A #6FCA3A
triadic
#B7CA3A #3AB7CA #CA3AB7
tetradic
#B7CA3A #3ACA95 #4D3ACA #CA3A6F
square
#B7CA3A #3ACA95 #4D3ACA #CA3A6F
split-complementary
#B7CA3A #3A6FCA #953ACA
monochromatic
#626C1D #8E9D2A #B7CA3A #C9D76A #DAE49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CA3A#FFFFFF#000000##000000
##B7CA3A1.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)
#D8BF20
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#C2BFAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b7ca3a;
/* rgb */ color: rgb(183, 202, 58);
/* oklch */ color: oklch(79.9% 0.164 116.8);
Tailwind
colors: {
  custom: {
    50: '#d0da7a',
    500: '#b7ca3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca3a;
$custom-light: #d0da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca3a",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 67.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79887,
    "c": 0.16357,
    "h": 116.8
  },
  "luminance": 0.52614
}

Semantic roles & 50–950 ramp

primary
#B7CA3A
secondary
#3B3276
accent
#47E15B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7CA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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