#C6BE40#C6BE40

#C6BE40 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.5% C 0.144 H 105.7°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#C6BE40
RGBrgb(198, 190, 64)
HSLhsl(56, 54%, 51%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 4%, 67.7%, 22.4%)
CIE-LABlab(75.58, -12.00, 61.73)
CIE-LCHlch(75.58, 62.89, 101.00°)
OKLaboklab(78.53% -0.0389 0.1383)
OKLCHoklch(78.53% 0.144 105.7)
XYZxyz(42.6292, 49.2044, 12.1014)
Luminance0.4920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BE40 #4048C6
analogous
#C67B40 #C6BE40 #8BC640
triadic
#C6BE40 #40C6BE #BE40C6
tetradic
#C6BE40 #40C67B #4048C6 #C6408B
square
#C6BE40 #40C67B #4048C6 #C6408B
split-complementary
#C6BE40 #408BC6 #7B40C6
monochromatic
#6C6720 #9B942E #C6BE40 #D4CE6F #E2DE9E

Accessibility & contrast

On white

1.94
#C6BE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#C6BE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BE40
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BE40#FFFFFF#000000##000000
##C6BE401.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D1BD48
Tritanopia (blue-blind)
#D4B2A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c6be40;
/* rgb */ color: rgb(198, 190, 64);
/* oklch */ color: oklch(78.5% 0.144 105.7);
Tailwind
colors: {
  custom: {
    50: '#dbd17c',
    500: '#c6be40',
    950: '#000000',
  },
}
SCSS
$custom: #c6be40;
$custom-light: #dbd17c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6be40",
  "rgb": {
    "r": 198,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 56.418,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78534,
    "c": 0.14365,
    "h": 105.7
  },
  "luminance": 0.49203
}

Semantic roles & 50–950 ramp

primary
#C6BE40
secondary
#9397CE
accent
#53DD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C6BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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