#C9C030#C9C030

#C9C030 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.1% C 0.155 H 105.7°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#C9C030
RGBrgb(201, 192, 48)
HSLhsl(56, 61%, 49%)
HSVhsv(56, 76%, 79%)
CMYKcmyk(0%, 4.5%, 76.1%, 21.2%)
CIE-LABlab(76.27, -12.49, 68.20)
CIE-LCHlch(76.27, 69.33, 100.38°)
OKLaboklab(79.12% -0.0419 0.149)
OKLCHoklch(79.12% 0.155 105.7)
XYZxyz(43.4724, 50.3318, 10.2208)
Luminance0.5033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C030 #3039C9
analogous
#C97430 #C9C030 #86C930
triadic
#C9C030 #30C9C0 #C030C9
tetradic
#C9C030 #30C974 #3039C9 #C93086
square
#C9C030 #30C974 #3039C9 #C93086
split-complementary
#C9C030 #3086C9 #7430C9
monochromatic
#666218 #989124 #C9C030 #D8D15E #E4DF8F

Accessibility & contrast

On white

1.90
#C9C030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#C9C030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C030
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C030#FFFFFF#000000##000000
##C9C0301.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90B
Deuteranopia (green-blind)
#D4BF3B
Tritanopia (blue-blind)
#D8B3A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9c030;
/* rgb */ color: rgb(201, 192, 48);
/* oklch */ color: oklch(79.1% 0.155 105.7);
Tailwind
colors: {
  custom: {
    50: '#ddd274',
    500: '#c9c030',
    950: '#000000',
  },
}
SCSS
$custom: #c9c030;
$custom-light: #ddd274;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c030",
  "rgb": {
    "r": 201,
    "g": 192,
    "b": 48
  },
  "hsl": {
    "h": 56.471,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79118,
    "c": 0.1548,
    "h": 105.7
  },
  "luminance": 0.5033
}

Semantic roles & 50–950 ramp

primary
#C9C030
secondary
#2D3170
accent
#4DE543
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C030

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

Preview Lab → · Contrast checker → · Palette generator →

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