#C6C03F#C6C03F

#C6C03F is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.146 H 106.7°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#C6C03F
RGBrgb(198, 192, 63)
HSLhsl(57, 54%, 51%)
HSVhsv(57, 68%, 78%)
CMYKcmyk(0%, 3%, 68.2%, 22.4%)
CIE-LABlab(76.11, -13.08, 62.66)
CIE-LCHlch(76.11, 64.01, 101.79°)
OKLaboklab(78.96% -0.042 0.1401)
OKLCHoklch(78.96% 0.146 106.7)
XYZxyz(43.0372, 50.0654, 12.0982)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C03F #3F45C6
analogous
#C67C3F #C6C03F #88C63F
triadic
#C6C03F #3FC6C0 #C03FC6
tetradic
#C6C03F #3FC67C #3F45C6 #C63F88
square
#C6C03F #3FC67C #3F45C6 #C63F88
split-complementary
#C6C03F #3F88C6 #7C3FC6
monochromatic
#6B6820 #9A952E #C6C03F #D4CF6E #E2DF9D

Accessibility & contrast

On white

1.91
#C6C03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#C6C03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C03F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C03F#FFFFFF#000000##000000
##C6C03F1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#D3BE48
Tritanopia (blue-blind)
#D4B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c6c03f;
/* rgb */ color: rgb(198, 192, 63);
/* oklch */ color: oklch(79.0% 0.146 106.7);
Tailwind
colors: {
  custom: {
    50: '#dbd27c',
    500: '#c6c03f',
    950: '#000000',
  },
}
SCSS
$custom: #c6c03f;
$custom-light: #dbd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c03f",
  "rgb": {
    "r": 198,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 57.333,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78955,
    "c": 0.14623,
    "h": 106.7
  },
  "luminance": 0.50064
}

Semantic roles & 50–950 ramp

primary
#C6C03F
secondary
#343775
accent
#51DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C03F

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

Preview Lab → · Contrast checker → · Palette generator →

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