#C7C435#C7C435

#C7C435 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.8% C 0.156 H 108.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#C7C435
RGBrgb(199, 196, 53)
HSLhsl(59, 58%, 49%)
HSVhsv(59, 73%, 78%)
CMYKcmyk(0%, 1.5%, 73.4%, 22%)
CIE-LABlab(77.21, -15.16, 67.37)
CIE-LCHlch(77.21, 69.05, 102.68°)
OKLaboklab(79.83% -0.0489 0.1482)
OKLCHoklch(79.83% 0.156 108.2)
XYZxyz(43.9374, 51.8804, 11.0669)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C435 #3538C7
analogous
#C77B35 #C7C435 #81C735
triadic
#C7C435 #35C7C4 #C435C7
tetradic
#C7C435 #35C77B #3538C7 #C73581
square
#C7C435 #35C77B #3538C7 #C73581
split-complementary
#C7C435 #3581C7 #7B35C7
monochromatic
#66651B #979428 #C7C435 #D6D364 #E2E194

Accessibility & contrast

On white

1.85
#C7C435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#C7C435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C435
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C435#FFFFFF#000000##000000
##C7C4351.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC17
Deuteranopia (green-blind)
#D7C140
Tritanopia (blue-blind)
#D5B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c435;
/* rgb */ color: rgb(199, 196, 53);
/* oklch */ color: oklch(79.8% 0.156 108.2);
Tailwind
colors: {
  custom: {
    50: '#dcd577',
    500: '#c7c435',
    950: '#000000',
  },
}
SCSS
$custom: #c7c435;
$custom-light: #dcd577;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c435",
  "rgb": {
    "r": 199,
    "g": 196,
    "b": 53
  },
  "hsl": {
    "h": 58.767,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79833,
    "c": 0.15608,
    "h": 108.2
  },
  "luminance": 0.51879
}

Semantic roles & 50–950 ramp

primary
#C7C435
secondary
#303171
accent
#4AE147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C7C435

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

Preview Lab → · Contrast checker → · Palette generator →

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