#C6CD34#C6CD34

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

Color values

HEX#C6CD34
RGBrgb(198, 205, 52)
HSLhsl(63, 60%, 50%)
HSVhsv(63, 75%, 80%)
CMYKcmyk(3.4%, 0%, 74.6%, 19.6%)
CIE-LABlab(79.57, -20.10, 69.87)
CIE-LCHlch(79.57, 72.71, 106.05°)
OKLaboklab(81.7% -0.0627 0.1534)
OKLCHoklch(81.7% 0.166 112.2)
XYZxyz(45.7414, 55.9175, 11.6318)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD34 #3B34CD
analogous
#CD8734 #C6CD34 #79CD34
triadic
#C6CD34 #34C6CD #CD34C6
tetradic
#C6CD34 #34CD87 #3B34CD #CD3479
square
#C6CD34 #34CD87 #3B34CD #CD3479
split-complementary
#C6CD34 #3479CD #8734CD
monochromatic
#686C1B #989D27 #C6CD34 #D4D965 #E2E596

Accessibility & contrast

On white

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

On black

12.18
#C6CD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CD34
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CD34#FFFFFF#000000##000000
##C6CD341.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6cd34;
/* rgb */ color: rgb(198, 205, 52);
/* oklch */ color: oklch(81.7% 0.166 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdc77',
    500: '#c6cd34',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd34;
$custom-light: #dbdc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd34",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 62.745,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81696,
    "c": 0.16572,
    "h": 112.2
  },
  "luminance": 0.55916
}

Semantic roles & 50–950 ramp

primary
#C6CD34
secondary
#333076
accent
#44E44B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6CD34

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

Preview Lab → · Contrast checker → · Palette generator →

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