#C7C335#C7C335

#C7C335 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.6% C 0.155 H 107.8°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#C7C335
RGBrgb(199, 195, 53)
HSLhsl(58, 58%, 49%)
HSVhsv(58, 73%, 78%)
CMYKcmyk(0%, 2%, 73.4%, 22%)
CIE-LABlab(76.94, -14.65, 67.11)
CIE-LCHlch(76.94, 68.70, 102.32°)
OKLaboklab(79.62% -0.0474 0.1477)
OKLCHoklch(79.62% 0.155 107.8)
XYZxyz(43.7126, 51.4308, 10.9920)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C335 #3539C7
analogous
#C77A35 #C7C335 #82C735
triadic
#C7C335 #35C7C3 #C335C7
tetradic
#C7C335 #35C77A #3539C7 #C73582
square
#C7C335 #35C77A #3539C7 #C73582
split-complementary
#C7C335 #3582C7 #7A35C7
monochromatic
#66641B #979428 #C7C335 #D6D264 #E2E094

Accessibility & contrast

On white

1.86
#C7C335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#C7C335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C335
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C335#FFFFFF#000000##000000
##C7C3351.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB18
Deuteranopia (green-blind)
#D6C040
Tritanopia (blue-blind)
#D5B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c335;
/* rgb */ color: rgb(199, 195, 53);
/* oklch */ color: oklch(79.6% 0.155 107.8);
Tailwind
colors: {
  custom: {
    50: '#dcd477',
    500: '#c7c335',
    950: '#000000',
  },
}
SCSS
$custom: #c7c335;
$custom-light: #dcd477;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c335",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 53
  },
  "hsl": {
    "h": 58.356,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79617,
    "c": 0.15514,
    "h": 107.8
  },
  "luminance": 0.51429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C335

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

Preview Lab → · Contrast checker → · Palette generator →

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