#C9C834#C9C834

#C9C834 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.9% C 0.160 H 109.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#C9C834
RGBrgb(201, 200, 52)
HSLhsl(60, 59%, 50%)
HSVhsv(60, 74%, 79%)
CMYKcmyk(0%, 0.5%, 74.1%, 21.2%)
CIE-LABlab(78.45, -16.36, 68.92)
CIE-LCHlch(78.45, 70.83, 103.35°)
OKLaboklab(80.86% -0.0524 0.1513)
OKLCHoklch(80.86% 0.16 109.1)
XYZxyz(45.3632, 53.9754, 11.2769)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C834 #3435C9
analogous
#C97D34 #C9C834 #80C934
triadic
#C9C834 #34C9C8 #C834C9
tetradic
#C9C834 #34C97D #3435C9 #C93480
square
#C9C834 #34C97D #3435C9 #C93480
split-complementary
#C9C834 #3480C9 #7D34C9
monochromatic
#68671B #989827 #C9C834 #D7D663 #E3E394

Accessibility & contrast

On white

1.78
#C9C834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#C9C834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C834
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C834#FFFFFF#000000##000000
##C9C8341.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C012
Deuteranopia (green-blind)
#DAC440
Tritanopia (blue-blind)
#D7BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c834;
/* rgb */ color: rgb(201, 200, 52);
/* oklch */ color: oklch(80.9% 0.160 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddd877',
    500: '#c9c834',
    950: '#000000',
  },
}
SCSS
$custom: #c9c834;
$custom-light: #ddd877;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c834",
  "rgb": {
    "r": 201,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 59.597,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80859,
    "c": 0.1601,
    "h": 109.1
  },
  "luminance": 0.53974
}

Semantic roles & 50–950 ramp

primary
#C9C834
secondary
#2F3072
accent
#47E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C834

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

Preview Lab → · Contrast checker → · Palette generator →

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