#C9C140#C9C140

#C9C140 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.4% C 0.146 H 105.8°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#C9C140
RGBrgb(201, 193, 64)
HSLhsl(56, 56%, 52%)
HSVhsv(56, 68%, 79%)
CMYKcmyk(0%, 4%, 68.2%, 21.2%)
CIE-LABlab(76.64, -12.26, 62.88)
CIE-LCHlch(76.64, 64.07, 101.03°)
OKLaboklab(79.44% -0.0397 0.1406)
OKLCHoklch(79.44% 0.146 105.8)
XYZxyz(44.0845, 50.9292, 12.3576)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C140 #4048C9
analogous
#C97C40 #C9C140 #8DC940
triadic
#C9C140 #40C9C1 #C140C9
tetradic
#C9C140 #40C97C #4048C9 #C9408D
square
#C9C140 #40C97C #4048C9 #C9408D
split-complementary
#C9C140 #408DC9 #7C40C9
monochromatic
#6F6B1F #9F982D #C9C140 #D6D070 #E4E09F

Accessibility & contrast

On white

1.88
#C9C140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#C9C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C140
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C140#FFFFFF#000000##000000
##C9C1401.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2D
Deuteranopia (green-blind)
#D4C048
Tritanopia (blue-blind)
#D8B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c9c140;
/* rgb */ color: rgb(201, 193, 64);
/* oklch */ color: oklch(79.4% 0.146 105.8);
Tailwind
colors: {
  custom: {
    50: '#ddd37c',
    500: '#c9c140',
    950: '#000000',
  },
}
SCSS
$custom: #c9c140;
$custom-light: #ddd37c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c140",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 56.496,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79438,
    "c": 0.14613,
    "h": 105.8
  },
  "luminance": 0.50928
}

Semantic roles & 50–950 ramp

primary
#C9C140
secondary
#353978
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C140

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

Preview Lab → · Contrast checker → · Palette generator →

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