#C7CF4A#C7CF4A

#C7CF4A is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.4% C 0.154 H 112.6°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#C7CF4A
RGBrgb(199, 207, 74)
HSLhsl(64, 58%, 55%)
HSVhsv(64, 64%, 81%)
CMYKcmyk(3.9%, 0%, 64.3%, 18.8%)
CIE-LABlab(80.33, -19.53, 62.68)
CIE-LCHlch(80.33, 65.65, 107.30°)
OKLaboklab(82.37% -0.0591 0.1418)
OKLCHoklch(82.37% 0.154 112.6)
XYZxyz(47.1033, 57.2632, 15.0488)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF4A #524ACF
analogous
#CF944A #C7CF4A #84CF4A
triadic
#C7CF4A #4AC7CF #CF4AC7
tetradic
#C7CF4A #4ACF94 #524ACF #CF4A84
square
#C7CF4A #4ACF94 #524ACF #CF4A84
split-complementary
#C7CF4A #4A84CF #944ACF
monochromatic
#787D21 #A6AE2E #C7CF4A #D6DC7A #E5E9AB

Accessibility & contrast

On white

1.69
#C7CF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#C7CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF4A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF4A#FFFFFF#000000##000000
##C7CF4A1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC638
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#D4C3B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf4a;
/* rgb */ color: rgb(199, 207, 74);
/* oklch */ color: oklch(82.4% 0.154 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd83',
    500: '#c7cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf4a;
$custom-light: #dbdd83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf4a",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 63.609,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82368,
    "c": 0.15363,
    "h": 112.6
  },
  "luminance": 0.57262
}

Semantic roles & 50–950 ramp

primary
#C7CF4A
secondary
#3D3885
accent
#46E150
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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