#C6C331#C6C331

#C6C331 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.5% C 0.157 H 108.3°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#C6C331
RGBrgb(198, 195, 49)
HSLhsl(59, 60%, 48%)
HSVhsv(59, 75%, 78%)
CMYKcmyk(0%, 1.5%, 75.3%, 22.4%)
CIE-LABlab(76.84, -15.25, 68.30)
CIE-LCHlch(76.84, 69.98, 102.59°)
OKLaboklab(79.51% -0.0494 0.1495)
OKLCHoklch(79.51% 0.157 108.3)
XYZxyz(43.3599, 51.2592, 10.5151)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C331 #3134C6
analogous
#C67831 #C6C331 #7EC631
triadic
#C6C331 #31C6C3 #C331C6
tetradic
#C6C331 #31C678 #3134C6 #C6317E
square
#C6C331 #31C678 #3134C6 #C6317E
split-complementary
#C6C331 #317EC6 #7831C6
monochromatic
#646219 #959325 #C6C331 #D7D55D #E3E18E

Accessibility & contrast

On white

1.87
#C6C331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#C6C331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C331
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C331#FFFFFF#000000##000000
##C6C3311.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB0D
Deuteranopia (green-blind)
#D6C03D
Tritanopia (blue-blind)
#D4B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c6c331;
/* rgb */ color: rgb(198, 195, 49);
/* oklch */ color: oklch(79.5% 0.157 108.3);
Tailwind
colors: {
  custom: {
    50: '#dbd475',
    500: '#c6c331',
    950: '#000000',
  },
}
SCSS
$custom: #c6c331;
$custom-light: #dbd475;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c331",
  "rgb": {
    "r": 198,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 58.792,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79508,
    "c": 0.15749,
    "h": 108.3
  },
  "luminance": 0.51258
}

Semantic roles & 50–950 ramp

primary
#C6C331
secondary
#2D2E6E
accent
#48E344
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C331

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

Preview Lab → · Contrast checker → · Palette generator →

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