#C6C930#C6C930

#C6C930 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.8% C 0.164 H 110.7°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#C6C930
RGBrgb(198, 201, 48)
HSLhsl(61, 61%, 49%)
HSVhsv(61, 76%, 79%)
CMYKcmyk(1.5%, 0%, 76.1%, 21.2%)
CIE-LABlab(78.46, -18.29, 70.10)
CIE-LCHlch(78.46, 72.45, 104.62°)
OKLaboklab(80.8% -0.058 0.1532)
OKLCHoklch(80.8% 0.164 110.7)
XYZxyz(44.7105, 53.9937, 10.8624)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C930 #3330C9
analogous
#C98030 #C6C930 #7AC930
triadic
#C6C930 #30C6C9 #C930C6
tetradic
#C6C930 #30C980 #3330C9 #C9307A
square
#C6C930 #30C980 #3330C9 #C9307A
split-complementary
#C6C930 #307AC9 #8030C9
monochromatic
#656618 #959824 #C6C930 #D6D85E #E3E48F

Accessibility & contrast

On white

1.78
#C6C930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#C6C930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C930
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C930#FFFFFF#000000##000000
##C6C9301.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C003
Deuteranopia (green-blind)
#DAC43D
Tritanopia (blue-blind)
#D4BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c6c930;
/* rgb */ color: rgb(198, 201, 48);
/* oklch */ color: oklch(80.8% 0.164 110.7);
Tailwind
colors: {
  custom: {
    50: '#dbd975',
    500: '#c6c930',
    950: '#000000',
  },
}
SCSS
$custom: #c6c930;
$custom-light: #dbd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c930",
  "rgb": {
    "r": 198,
    "g": 201,
    "b": 48
  },
  "hsl": {
    "h": 61.176,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80803,
    "c": 0.16379,
    "h": 110.7
  },
  "luminance": 0.53992
}

Semantic roles & 50–950 ramp

primary
#C6C930
secondary
#2E2D70
accent
#43E546
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C930

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

Preview Lab → · Contrast checker → · Palette generator →

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