#C6BD40#C6BD40

#C6BD40 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.3% C 0.143 H 105.2°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#C6BD40
RGBrgb(198, 189, 64)
HSLhsl(56, 54%, 51%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 4.5%, 67.7%, 22.4%)
CIE-LABlab(75.31, -11.49, 61.46)
CIE-LCHlch(75.31, 62.53, 100.59°)
OKLaboklab(78.32% -0.0374 0.1377)
OKLCHoklch(78.32% 0.143 105.2)
XYZxyz(42.4134, 48.7727, 12.0294)
Luminance0.4877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BD40 #4049C6
analogous
#C67A40 #C6BD40 #8CC640
triadic
#C6BD40 #40C6BD #BD40C6
tetradic
#C6BD40 #40C67A #4049C6 #C6408C
square
#C6BD40 #40C67A #4049C6 #C6408C
split-complementary
#C6BD40 #408CC6 #7A40C6
monochromatic
#6C6620 #9B932E #C6BD40 #D4CD6F #E2DE9E

Accessibility & contrast

On white

1.95
#C6BD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#C6BD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BD40
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BD40#FFFFFF#000000##000000
##C6BD401.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#D4B1A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c6bd40;
/* rgb */ color: rgb(198, 189, 64);
/* oklch */ color: oklch(78.3% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#dbd07c',
    500: '#c6bd40',
    950: '#000000',
  },
}
SCSS
$custom: #c6bd40;
$custom-light: #dbd07c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bd40",
  "rgb": {
    "r": 198,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 55.97,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7832,
    "c": 0.14271,
    "h": 105.2
  },
  "luminance": 0.48771
}

Semantic roles & 50–950 ramp

primary
#C6BD40
secondary
#9397CE
accent
#54DD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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