#C6CB42#C6CB42

#C6CB42 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.155 H 111.4°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C6CB42
RGBrgb(198, 203, 66)
HSLhsl(62, 57%, 53%)
HSVhsv(62, 67%, 80%)
CMYKcmyk(2.5%, 0%, 67.5%, 20.4%)
CIE-LABlab(79.11, -18.43, 64.52)
CIE-LCHlch(79.11, 67.11, 105.94°)
OKLaboklab(81.35% -0.0567 0.1445)
OKLCHoklch(81.35% 0.155 111.4)
XYZxyz(45.6294, 55.1121, 13.3873)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CB42 #4742CB
analogous
#CB8C42 #C6CB42 #81CB42
triadic
#C6CB42 #42C6CB #CB42C6
tetradic
#C6CB42 #42CB8C #4742CB #CB4281
square
#C6CB42 #42CB8C #4742CB #CB4281
split-complementary
#C6CB42 #4281CB #8C42CB
monochromatic
#707320 #9FA32D #C6CB42 #D4D872 #E3E5A2

Accessibility & contrast

On white

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

On black

12.02
#C6CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CB42
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CB42#FFFFFF#000000##000000
##C6CB421.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#D3BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cb42;
/* rgb */ color: rgb(198, 203, 66);
/* oklch */ color: oklch(81.4% 0.155 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbda7e',
    500: '#c6cb42',
    950: '#000000',
  },
}
SCSS
$custom: #c6cb42;
$custom-light: #dbda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cb42",
  "rgb": {
    "r": 198,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 62.19,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81354,
    "c": 0.15524,
    "h": 111.4
  },
  "luminance": 0.55111
}

Semantic roles & 50–950 ramp

primary
#C6CB42
secondary
#38357C
accent
#48E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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