#C7CA19#C7CA19

#C7CA19 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.0% C 0.173 H 110.8°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#C7CA19
RGBrgb(199, 202, 25)
HSLhsl(61, 78%, 45%)
HSVhsv(61, 88%, 79%)
CMYKcmyk(1.5%, 0%, 87.6%, 20.8%)
CIE-LABlab(78.73, -19.04, 75.98)
CIE-LCHlch(78.73, 78.33, 104.06°)
OKLaboklab(81.01% -0.0616 0.162)
OKLCHoklch(81.01% 0.173 110.8)
XYZxyz(44.8509, 54.4547, 9.0677)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA19 #1C19CA
analogous
#CA7519 #C7CA19 #6FCA19
triadic
#C7CA19 #19C7CA #CA19C7
tetradic
#C7CA19 #19CA75 #1C19CA #CA196F
square
#C7CA19 #19CA75 #1C19CA #CA196F
split-complementary
#C7CA19 #196FCA #7519CA
monochromatic
#5C5D0C #919412 #C7CA19 #E4E73A #EBED70

Accessibility & contrast

On white

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

On black

11.89
#C7CA19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA19
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA19#FFFFFF#000000##000000
##C7CA191.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#DCC52F
Tritanopia (blue-blind)
#D6BDAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca19;
/* rgb */ color: rgb(199, 202, 25);
/* oklch */ color: oklch(81.0% 0.173 110.8);
Tailwind
colors: {
  custom: {
    50: '#ddd96d',
    500: '#c7ca19',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca19;
$custom-light: #ddd96d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca19",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 25
  },
  "hsl": {
    "h": 61.017,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.8101,
    "c": 0.17333,
    "h": 110.8
  },
  "luminance": 0.54453
}

Semantic roles & 50–950 ramp

primary
#C7CA19
secondary
#201F68
accent
#33F437
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C7CA19

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

Preview Lab → · Contrast checker → · Palette generator →

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