#C5C366#C5C366

#C5C366 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 79.9% C 0.116 H 107.7°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#C5C366
RGBrgb(197, 195, 102)
HSLhsl(59, 45%, 59%)
HSVhsv(59, 48%, 77%)
CMYKcmyk(0%, 1%, 48.2%, 22.7%)
CIE-LABlab(77.20, -12.19, 46.60)
CIE-LCHlch(77.20, 48.17, 104.66°)
OKLaboklab(79.92% -0.0352 0.1107)
OKLCHoklch(79.92% 0.116 107.7)
XYZxyz(44.9404, 51.8610, 20.2106)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C366 #6668C5
analogous
#C59366 #C5C366 #97C566
triadic
#C5C366 #66C5C3 #C366C5
tetradic
#C5C366 #66C593 #6668C5 #C56697
square
#C5C366 #66C593 #6668C5 #C56697
split-complementary
#C5C366 #6697C5 #9366C5
monochromatic
#807E31 #ACAA41 #C5C366 #D6D492 #E7E6BF

Accessibility & contrast

On white

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

On black

11.37
#C5C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C366
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C366#FFFFFF#000000##000000
##C5C3661.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD5E
Deuteranopia (green-blind)
#D2C06A
Tritanopia (blue-blind)
#D1B9AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5c366;
/* rgb */ color: rgb(197, 195, 102);
/* oklch */ color: oklch(79.9% 0.116 107.7);
Tailwind
colors: {
  custom: {
    50: '#d8d594',
    500: '#c5c366',
    950: '#000000',
  },
}
SCSS
$custom: #c5c366;
$custom-light: #d8d594;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c366",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 58.737,
    "s": 45.024,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79919,
    "c": 0.11613,
    "h": 107.7
  },
  "luminance": 0.5186
}

Semantic roles & 50–950 ramp

primary
#C5C366
secondary
#474888
accent
#56D553
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C5C366

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

Preview Lab → · Contrast checker → · Palette generator →

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