#C6C140#C6C140

#C6C140 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.147 H 107.1°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#C6C140
RGBrgb(198, 193, 64)
HSLhsl(58, 54%, 51%)
HSVhsv(58, 68%, 78%)
CMYKcmyk(0%, 2.5%, 67.7%, 22.4%)
CIE-LABlab(76.39, -13.53, 62.55)
CIE-LCHlch(76.39, 64.00, 102.20°)
OKLaboklab(79.18% -0.0432 0.14)
OKLCHoklch(79.18% 0.147 107.1)
XYZxyz(43.2857, 50.5173, 12.3202)
Luminance0.5052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C140 #4045C6
analogous
#C67E40 #C6C140 #88C640
triadic
#C6C140 #40C6C1 #C140C6
tetradic
#C6C140 #40C67E #4045C6 #C64088
square
#C6C140 #40C67E #4045C6 #C64088
split-complementary
#C6C140 #4088C6 #7E40C6
monochromatic
#6C6920 #9B972E #C6C140 #D4D06F #E2E09E

Accessibility & contrast

On white

1.89
#C6C140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#C6C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C140
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C140#FFFFFF#000000##000000
##C6C1401.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2D
Deuteranopia (green-blind)
#D3BF49
Tritanopia (blue-blind)
#D4B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c6c140;
/* rgb */ color: rgb(198, 193, 64);
/* oklch */ color: oklch(79.2% 0.147 107.1);
Tailwind
colors: {
  custom: {
    50: '#dbd37c',
    500: '#c6c140',
    950: '#000000',
  },
}
SCSS
$custom: #c6c140;
$custom-light: #dbd37c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c140",
  "rgb": {
    "r": 198,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 57.761,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79178,
    "c": 0.14651,
    "h": 107.1
  },
  "luminance": 0.50516
}

Semantic roles & 50–950 ramp

primary
#C6C140
secondary
#353775
accent
#50DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C140

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

Preview Lab → · Contrast checker → · Palette generator →

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