#C7CA34#C7CA34

#C7CA34 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.1% C 0.162 H 110.7°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#C7CA34
RGBrgb(199, 202, 52)
HSLhsl(61, 59%, 50%)
HSVhsv(61, 74%, 79%)
CMYKcmyk(1.5%, 0%, 74.3%, 20.8%)
CIE-LABlab(78.83, -18.20, 69.21)
CIE-LCHlch(78.83, 71.57, 104.73°)
OKLaboklab(81.13% -0.0574 0.152)
OKLCHoklch(81.13% 0.162 110.7)
XYZxyz(45.2951, 54.6324, 11.4072)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA34 #3734CA
analogous
#CA8234 #C7CA34 #7CCA34
triadic
#C7CA34 #34C7CA #CA34C7
tetradic
#C7CA34 #34CA82 #3734CA #CA347C
square
#C7CA34 #34CA82 #3734CA #CA347C
split-complementary
#C7CA34 #347CCA #8234CA
monochromatic
#67691B #979927 #C7CA34 #D5D764 #E2E495

Accessibility & contrast

On white

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

On black

11.93
#C7CA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA34
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA34#FFFFFF#000000##000000
##C7CA341.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC111
Deuteranopia (green-blind)
#DBC540
Tritanopia (blue-blind)
#D5BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca34;
/* rgb */ color: rgb(199, 202, 52);
/* oklch */ color: oklch(81.1% 0.162 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd977',
    500: '#c7ca34',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca34;
$custom-light: #dcd977;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca34",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 52
  },
  "hsl": {
    "h": 61.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81125,
    "c": 0.16247,
    "h": 110.7
  },
  "luminance": 0.54631
}

Semantic roles & 50–950 ramp

primary
#C7CA34
secondary
#313073
accent
#46E249
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7CA34

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

Preview Lab → · Contrast checker → · Palette generator →

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