#C9C765#C9C765

#C9C765 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.121 H 107.8°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#C9C765
RGBrgb(201, 199, 101)
HSLhsl(59, 48%, 59%)
HSVhsv(59, 50%, 79%)
CMYKcmyk(0%, 1%, 49.8%, 21.2%)
CIE-LABlab(78.58, -12.68, 48.81)
CIE-LCHlch(78.58, 50.43, 104.56°)
OKLaboklab(81.1% -0.037 0.1154)
OKLCHoklch(81.1% 0.121 107.8)
XYZxyz(46.8609, 54.2051, 20.3035)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C765 #6567C9
analogous
#C99565 #C9C765 #99C965
triadic
#C9C765 #65C9C7 #C765C9
tetradic
#C9C765 #65C995 #6567C9 #C96599
square
#C9C765 #65C995 #6567C9 #C96599
split-complementary
#C9C765 #6599C9 #9565C9
monochromatic
#85832F #B2B03F #C9C765 #D9D792 #E9E8C0

Accessibility & contrast

On white

1.77
#C9C765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#C9C765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C765
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C765#FFFFFF#000000##000000
##C9C7651.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C05C
Deuteranopia (green-blind)
#D7C46A
Tritanopia (blue-blind)
#D5BCB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c765;
/* rgb */ color: rgb(201, 199, 101);
/* oklch */ color: oklch(81.1% 0.121 107.8);
Tailwind
colors: {
  custom: {
    50: '#dbd793',
    500: '#c9c765',
    950: '#000000',
  },
}
SCSS
$custom: #c9c765;
$custom-light: #dbd793;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c765",
  "rgb": {
    "r": 201,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 58.8,
    "s": 48.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81095,
    "c": 0.12113,
    "h": 107.8
  },
  "luminance": 0.54204
}

Semantic roles & 50–950 ramp

primary
#C9C765
secondary
#46478C
accent
#53D850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C9C765

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

Preview Lab → · Contrast checker → · Palette generator →

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