#C6CB52#C6CB52

#C6CB52 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.143 H 111.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#C6CB52
RGBrgb(198, 203, 82)
HSLhsl(62, 54%, 56%)
HSVhsv(62, 60%, 80%)
CMYKcmyk(2.5%, 0%, 59.6%, 20.4%)
CIE-LABlab(79.23, -17.43, 58.15)
CIE-LCHlch(79.23, 60.71, 106.69°)
OKLaboklab(81.49% -0.0523 0.1334)
OKLCHoklch(81.49% 0.143 111.4)
XYZxyz(46.1689, 55.3279, 16.2283)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CB52 #5752CB
analogous
#CB9352 #C6CB52 #89CB52
triadic
#C6CB52 #52C6CB #CB52C6
tetradic
#C6CB52 #52CB93 #5752CB #CB5289
square
#C6CB52 #52CB93 #5752CB #CB5289
split-complementary
#C6CB52 #5289CB #9352CB
monochromatic
#797D26 #A7AC34 #C6CB52 #D6D981 #E5E7B0

Accessibility & contrast

On white

1.74
#C6CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#C6CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CB52
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CB52#FFFFFF#000000##000000
##C6CB521.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C344
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#D3C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cb52;
/* rgb */ color: rgb(198, 203, 82);
/* oklch */ color: oklch(81.5% 0.143 111.4);
Tailwind
colors: {
  custom: {
    50: '#dada87',
    500: '#c6cb52',
    950: '#000000',
  },
}
SCSS
$custom: #c6cb52;
$custom-light: #dada87;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cb52",
  "rgb": {
    "r": 198,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 62.479,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81493,
    "c": 0.14327,
    "h": 111.4
  },
  "luminance": 0.55327
}

Semantic roles & 50–950 ramp

primary
#C6CB52
secondary
#3F3C85
accent
#4BDD51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C6CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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