#C6C438#C6C438

#C6C438 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.8% C 0.155 H 108.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#C6C438
RGBrgb(198, 196, 56)
HSLhsl(59, 56%, 50%)
HSVhsv(59, 72%, 78%)
CMYKcmyk(0%, 1%, 71.7%, 22.4%)
CIE-LABlab(77.14, -15.45, 66.25)
CIE-LCHlch(77.14, 68.03, 103.12°)
OKLaboklab(79.77% -0.0493 0.1464)
OKLCHoklch(79.77% 0.155 108.6)
XYZxyz(43.7441, 51.7725, 11.4294)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C438 #383AC6
analogous
#C67D38 #C6C438 #81C638
triadic
#C6C438 #38C6C4 #C438C6
tetradic
#C6C438 #38C67D #383AC6 #C63881
square
#C6C438 #38C67D #383AC6 #C63881
split-complementary
#C6C438 #3881C6 #7D38C6
monochromatic
#67661D #96952B #C6C438 #D4D367 #E2E097

Accessibility & contrast

On white

1.85
#C6C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#C6C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C438
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C438#FFFFFF#000000##000000
##C6C4381.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1E
Deuteranopia (green-blind)
#D6C143
Tritanopia (blue-blind)
#D4B7A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c6c438;
/* rgb */ color: rgb(198, 196, 56);
/* oklch */ color: oklch(79.8% 0.155 108.6);
Tailwind
colors: {
  custom: {
    50: '#dbd578',
    500: '#c6c438',
    950: '#000000',
  },
}
SCSS
$custom: #c6c438;
$custom-light: #dbd578;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c438",
  "rgb": {
    "r": 198,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 59.155,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79767,
    "c": 0.15453,
    "h": 108.6
  },
  "luminance": 0.51771
}

Semantic roles & 50–950 ramp

primary
#C6C438
secondary
#313271
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C438

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

Preview Lab → · Contrast checker → · Palette generator →

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