#C7CA45#C7CA45

#C7CA45 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.152 H 110.6°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C7CA45
RGBrgb(199, 202, 69)
HSLhsl(61, 56%, 53%)
HSVhsv(61, 66%, 79%)
CMYKcmyk(1.5%, 0%, 65.8%, 20.8%)
CIE-LABlab(78.93, -17.35, 63.22)
CIE-LCHlch(78.93, 65.56, 105.35°)
OKLaboklab(81.24% -0.0534 0.1422)
OKLCHoklch(81.24% 0.152 110.6)
XYZxyz(45.7493, 54.8140, 13.7993)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA45 #4845CA
analogous
#CA8A45 #C7CA45 #85CA45
triadic
#C7CA45 #45C7CA #CA45C7
tetradic
#C7CA45 #45CA8A #4845CA #CA4585
square
#C7CA45 #45CA8A #4845CA #CA4585
split-complementary
#C7CA45 #4585CA #8A45CA
monochromatic
#727421 #A1A32F #C7CA45 #D5D875 #E4E5A4

Accessibility & contrast

On white

1.76
#C7CA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#C7CA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA45
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA45#FFFFFF#000000##000000
##C7CA451.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C132
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#D4BEAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca45;
/* rgb */ color: rgb(199, 202, 69);
/* oklch */ color: oklch(81.2% 0.152 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd980',
    500: '#c7ca45',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca45;
$custom-light: #dbd980;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca45",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 61.353,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81242,
    "c": 0.15191,
    "h": 110.6
  },
  "luminance": 0.54813
}

Semantic roles & 50–950 ramp

primary
#C7CA45
secondary
#38377D
accent
#49DF4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CA45

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

Preview Lab → · Contrast checker → · Palette generator →

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