#B7CF3A#B7CF3A

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

Color values

HEX#B7CF3A
RGBrgb(183, 207, 58)
HSLhsl(70, 61%, 52%)
HSVhsv(70, 72%, 81%)
CMYKcmyk(11.6%, 0%, 72%, 18.8%)
CIE-LABlab(79.04, -27.00, 66.99)
CIE-LCHlch(79.04, 72.22, 111.95°)
OKLaboklab(81.01% -0.0805 0.1488)
OKLCHoklch(81.01% 0.169 118.4)
XYZxyz(42.6059, 54.9988, 12.3735)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CF3A #523ACF
analogous
#CF9C3A #B7CF3A #6DCF3A
triadic
#B7CF3A #3AB7CF #CF3AB7
tetradic
#B7CF3A #3ACF9C #523ACF #CF3A6D
square
#B7CF3A #3ACF9C #523ACF #CF3A6D
split-complementary
#B7CF3A #3A6DCF #9C3ACF
monochromatic
#65731C #90A428 #B7CF3A #C9DB6B #DBE79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CF3A#FFFFFF#000000##000000
##B7CF3A1.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)
#DDC41E
Deuteranopia (green-blind)
#DAC447
Tritanopia (blue-blind)
#C2C4B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b7cf3a;
/* rgb */ color: rgb(183, 207, 58);
/* oklch */ color: oklch(81.0% 0.169 118.4);
Tailwind
colors: {
  custom: {
    50: '#d0dd7a',
    500: '#b7cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7cf3a;
$custom-light: #d0dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cf3a",
  "rgb": {
    "r": 183,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 69.664,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81008,
    "c": 0.16918,
    "h": 118.4
  },
  "luminance": 0.54998
}

Semantic roles & 50–950 ramp

primary
#B7CF3A
secondary
#3E327B
accent
#44E45E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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