#C6CA38#C6CA38

#C6CA38 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.1% C 0.160 H 111.1°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#C6CA38
RGBrgb(198, 202, 56)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 72%, 79%)
CMYKcmyk(2%, 0%, 72.3%, 20.8%)
CIE-LABlab(78.77, -18.44, 67.81)
CIE-LCHlch(78.77, 70.27, 105.22°)
OKLaboklab(81.07% -0.0577 0.1497)
OKLCHoklch(81.07% 0.16 111.1)
XYZxyz(45.1246, 54.5335, 11.8896)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CA38 #3C38CA
analogous
#CA8538 #C6CA38 #7DCA38
triadic
#C6CA38 #38C6CA #CA38C6
tetradic
#C6CA38 #38CA85 #3C38CA #CA387D
square
#C6CA38 #38CA85 #3C38CA #CA387D
split-complementary
#C6CA38 #387DCA #8538CA
monochromatic
#696B1D #989B29 #C6CA38 #D4D768 #E2E499

Accessibility & contrast

On white

1.76
#C6CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#C6CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CA38
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CA38#FFFFFF#000000##000000
##C6CA381.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#D4BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c6ca38;
/* rgb */ color: rgb(198, 202, 56);
/* oklch */ color: oklch(81.1% 0.160 111.1);
Tailwind
colors: {
  custom: {
    50: '#dbd979',
    500: '#c6ca38',
    950: '#000000',
  },
}
SCSS
$custom: #c6ca38;
$custom-light: #dbd979;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ca38",
  "rgb": {
    "r": 198,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 61.644,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81067,
    "c": 0.16047,
    "h": 111.1
  },
  "luminance": 0.54532
}

Semantic roles & 50–950 ramp

primary
#C6CA38
secondary
#333175
accent
#47E14B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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