#C7CA68#C7CA68

#C7CA68 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.122 H 110.4°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C7CA68
RGBrgb(199, 202, 104)
HSLhsl(62, 48%, 60%)
HSVhsv(62, 49%, 79%)
CMYKcmyk(1.5%, 0%, 48.5%, 20.8%)
CIE-LABlab(79.26, -14.74, 48.14)
CIE-LCHlch(79.26, 50.35, 107.02°)
OKLaboklab(81.61% -0.0424 0.1142)
OKLCHoklch(81.61% 0.122 110.4)
XYZxyz(47.1734, 55.3836, 21.2991)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA68 #6B68CA
analogous
#CA9C68 #C7CA68 #96CA68
triadic
#C7CA68 #68C7CA #CA68C7
tetradic
#C7CA68 #68CA9C #6B68CA #CA6896
square
#C7CA68 #68CA9C #6B68CA #CA6896
split-complementary
#C7CA68 #6896CA #9C68CA
monochromatic
#858830 #B2B540 #C7CA68 #D8DA95 #E9EAC3

Accessibility & contrast

On white

1.74
#C7CA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#C7CA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA68
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA68#FFFFFF#000000##000000
##C7CA681.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C35F
Deuteranopia (green-blind)
#D8C66D
Tritanopia (blue-blind)
#D2C0B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca68;
/* rgb */ color: rgb(199, 202, 104);
/* oklch */ color: oklch(81.6% 0.122 110.4);
Tailwind
colors: {
  custom: {
    50: '#dada95',
    500: '#c7ca68',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca68;
$custom-light: #dada95;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca68",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 61.837,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.81609,
    "c": 0.12181,
    "h": 110.4
  },
  "luminance": 0.55383
}

Semantic roles & 50–950 ramp

primary
#C7CA68
secondary
#49478F
accent
#50D854
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C7CA68

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

Preview Lab → · Contrast checker → · Palette generator →

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