#C9C130#C9C130

#C9C130 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.3% C 0.156 H 106.2°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#C9C130
RGBrgb(201, 193, 48)
HSLhsl(57, 61%, 49%)
HSVhsv(57, 76%, 79%)
CMYKcmyk(0%, 4%, 76.1%, 21.2%)
CIE-LABlab(76.54, -13.00, 68.44)
CIE-LCHlch(76.54, 69.66, 100.75°)
OKLaboklab(79.33% -0.0433 0.1495)
OKLCHoklch(79.33% 0.156 106.2)
XYZxyz(43.6927, 50.7725, 10.2943)
Luminance0.5077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C130 #3038C9
analogous
#C97530 #C9C130 #85C930
triadic
#C9C130 #30C9C1 #C130C9
tetradic
#C9C130 #30C975 #3038C9 #C93085
square
#C9C130 #30C975 #3038C9 #C93085
split-complementary
#C9C130 #3085C9 #7530C9
monochromatic
#666218 #989224 #C9C130 #D8D25E #E4E08F

Accessibility & contrast

On white

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

On black

11.15
#C9C130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C130
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C130#FFFFFF#000000##000000
##C9C1301.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0A
Deuteranopia (green-blind)
#D5BF3C
Tritanopia (blue-blind)
#D8B4A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c9c130;
/* rgb */ color: rgb(201, 193, 48);
/* oklch */ color: oklch(79.3% 0.156 106.2);
Tailwind
colors: {
  custom: {
    50: '#ddd374',
    500: '#c9c130',
    950: '#000000',
  },
}
SCSS
$custom: #c9c130;
$custom-light: #ddd374;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c130",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 48
  },
  "hsl": {
    "h": 56.863,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79332,
    "c": 0.15569,
    "h": 106.2
  },
  "luminance": 0.50771
}

Semantic roles & 50–950 ramp

primary
#C9C130
secondary
#2D3070
accent
#4CE543
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C130

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

Preview Lab → · Contrast checker → · Palette generator →

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