#B7CF2F#B7CF2F

#B7CF2F is a light, vivid yellow. Relative luminance 0.549; OKLCH L 80.9% C 0.175 H 118.2°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#B7CF2F
RGBrgb(183, 207, 47)
HSLhsl(69, 63%, 50%)
HSVhsv(69, 77%, 81%)
CMYKcmyk(11.6%, 0%, 77.3%, 18.8%)
CIE-LABlab(78.98, -27.50, 70.46)
CIE-LCHlch(78.98, 75.64, 111.32°)
OKLaboklab(80.94% -0.0827 0.1543)
OKLCHoklch(80.94% 0.175 118.2)
XYZxyz(42.3554, 54.8986, 11.0540)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CF2F #472FCF
analogous
#CF972F #B7CF2F #67CF2F
triadic
#B7CF2F #2FB7CF #CF2FB7
tetradic
#B7CF2F #2FCF97 #472FCF #CF2F67
square
#B7CF2F #2FCF97 #472FCF #CF2F67
split-complementary
#B7CF2F #2F67CF #972FCF
monochromatic
#5F6B18 #8B9D24 #B7CF2F #C9DB60 #DAE692

Accessibility & contrast

On white

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

On black

11.98
#B7CF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CF2F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CF2F#FFFFFF#000000##000000
##B7CF2F1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DAC43E
Tritanopia (blue-blind)
#C2C3B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b7cf2f;
/* rgb */ color: rgb(183, 207, 47);
/* oklch */ color: oklch(80.9% 0.175 118.2);
Tailwind
colors: {
  custom: {
    50: '#d0dd75',
    500: '#b7cf2f',
    950: '#000000',
  },
}
SCSS
$custom: #b7cf2f;
$custom-light: #d0dd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cf2f",
  "rgb": {
    "r": 183,
    "g": 207,
    "b": 47
  },
  "hsl": {
    "h": 69,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.80943,
    "c": 0.1751,
    "h": 118.2
  },
  "luminance": 0.54898
}

Semantic roles & 50–950 ramp

primary
#B7CF2F
secondary
#382D75
accent
#42E65A
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B7CF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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