#B7C366#B7C366

#B7C366 is a light, moderate yellow. Relative luminance 0.501; OKLCH L 78.8% C 0.119 H 115.2°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#B7C366
RGBrgb(183, 195, 102)
HSLhsl(68, 44%, 58%)
HSVhsv(68, 48%, 76%)
CMYKcmyk(6.2%, 0%, 47.7%, 23.5%)
CIE-LABlab(76.10, -17.86, 45.02)
CIE-LCHlch(76.10, 48.43, 111.63°)
OKLaboklab(78.78% -0.0506 0.1074)
OKLCHoklch(78.78% 0.119 115.2)
XYZxyz(41.4424, 50.0573, 20.0467)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C366 #7266C3
analogous
#C3A066 #B7C366 #88C366
triadic
#B7C366 #66B7C3 #C366B7
tetradic
#B7C366 #66C3A0 #7266C3 #C36688
square
#B7C366 #66C3A0 #7266C3 #C36688
split-complementary
#B7C366 #6688C3 #A066C3
monochromatic
#747D31 #9CA942 #B7C366 #CCD492 #E0E5BE

Accessibility & contrast

On white

1.91
#B7C366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#B7C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C366
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C366#FFFFFF#000000##000000
##B7C3661.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB5E
Deuteranopia (green-blind)
#CDBD6B
Tritanopia (blue-blind)
#C0BAAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c366;
/* rgb */ color: rgb(183, 195, 102);
/* oklch */ color: oklch(78.8% 0.119 115.2);
Tailwind
colors: {
  custom: {
    50: '#ced594',
    500: '#b7c366',
    950: '#000000',
  },
}
SCSS
$custom: #b7c366;
$custom-light: #ced594;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c366",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 67.742,
    "s": 43.662,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78778,
    "c": 0.11871,
    "h": 115.2
  },
  "luminance": 0.50057
}

Semantic roles & 50–950 ramp

primary
#B7C366
secondary
#4F4786
accent
#54D365
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #B7C366

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

Preview Lab → · Contrast checker → · Palette generator →

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