#C6CD38#C6CD38

#C6CD38 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.7% C 0.164 H 112.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#C6CD38
RGBrgb(198, 205, 56)
HSLhsl(63, 60%, 51%)
HSVhsv(63, 73%, 80%)
CMYKcmyk(3.4%, 0%, 72.7%, 19.6%)
CIE-LABlab(79.59, -19.92, 68.58)
CIE-LCHlch(79.59, 71.42, 106.20°)
OKLaboklab(81.72% -0.0618 0.1514)
OKLCHoklch(81.72% 0.164 112.2)
XYZxyz(45.8353, 55.9550, 12.1265)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD38 #3F38CD
analogous
#CD8938 #C6CD38 #7BCD38
triadic
#C6CD38 #38C6CD #CD38C6
tetradic
#C6CD38 #38CD89 #3F38CD #CD387B
square
#C6CD38 #38CD89 #3F38CD #CD387B
split-complementary
#C6CD38 #387BCD #8938CD
monochromatic
#6B6F1C #9AA028 #C6CD38 #D4D969 #E2E69A

Accessibility & contrast

On white

1.72
#C6CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#C6CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CD38
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CD38#FFFFFF#000000##000000
##C6CD381.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC31A
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#D4C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cd38;
/* rgb */ color: rgb(198, 205, 56);
/* oklch */ color: oklch(81.7% 0.164 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdc79',
    500: '#c6cd38',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd38;
$custom-light: #dbdc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd38",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 62.819,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.8172,
    "c": 0.16352,
    "h": 112.2
  },
  "luminance": 0.55954
}

Semantic roles & 50–950 ramp

primary
#C6CD38
secondary
#343178
accent
#45E34C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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