#C7CF3A#C7CF3A

#C7CF3A is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.2% C 0.164 H 112.6°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#C7CF3A
RGBrgb(199, 207, 58)
HSLhsl(63, 61%, 52%)
HSVhsv(63, 72%, 81%)
CMYKcmyk(3.9%, 0%, 72%, 18.8%)
CIE-LABlab(80.22, -20.40, 68.53)
CIE-LCHlch(80.22, 71.51, 106.57°)
OKLaboklab(82.25% -0.063 0.1516)
OKLCHoklch(82.25% 0.164 112.6)
XYZxyz(46.6312, 57.0743, 12.5622)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF3A #423ACF
analogous
#CF8C3A #C7CF3A #7DCF3A
triadic
#C7CF3A #3AC7CF #CF3AC7
tetradic
#C7CF3A #3ACF8C #423ACF #CF3A7D
square
#C7CF3A #3ACF8C #423ACF #CF3A7D
split-complementary
#C7CF3A #3A7DCF #8C3ACF
monochromatic
#6E731C #9DA428 #C7CF3A #D5DB6B #E3E79C

Accessibility & contrast

On white

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

On black

12.41
#C7CF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF3A
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF3A#FFFFFF#000000##000000
##C7CF3A1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC51D
Deuteranopia (green-blind)
#DFC946
Tritanopia (blue-blind)
#D4C2B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf3a;
/* rgb */ color: rgb(199, 207, 58);
/* oklch */ color: oklch(82.2% 0.164 112.6);
Tailwind
colors: {
  custom: {
    50: '#dcdd7a',
    500: '#c7cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf3a;
$custom-light: #dcdd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf3a",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 63.221,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82249,
    "c": 0.16417,
    "h": 112.6
  },
  "luminance": 0.57073
}

Semantic roles & 50–950 ramp

primary
#C7CF3A
secondary
#36327B
accent
#44E44C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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