#C7CF3C#C7CF3C

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

Color values

HEX#C7CF3C
RGBrgb(199, 207, 60)
HSLhsl(63, 60%, 52%)
HSVhsv(63, 71%, 81%)
CMYKcmyk(3.9%, 0%, 71%, 18.8%)
CIE-LABlab(80.23, -20.30, 67.85)
CIE-LCHlch(80.23, 70.83, 106.66°)
OKLaboklab(82.26% -0.0626 0.1505)
OKLCHoklch(82.26% 0.163 112.6)
XYZxyz(46.6831, 57.0951, 12.8354)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF3C #443CCF
analogous
#CF8D3C #C7CF3C #7ECF3C
triadic
#C7CF3C #3CC7CF #CF3CC7
tetradic
#C7CF3C #3CCF8D #443CCF #CF3C7E
square
#C7CF3C #3CCF8D #443CCF #CF3C7E
split-complementary
#C7CF3C #3C7ECF #8D3CCF
monochromatic
#6F741D #9EA529 #C7CF3C #D5DB6D #E3E79E

Accessibility & contrast

On white

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

On black

12.42
#C7CF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF3C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF3C#FFFFFF#000000##000000
##C7CF3C1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC521
Deuteranopia (green-blind)
#DFC947
Tritanopia (blue-blind)
#D4C3B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf3c;
/* rgb */ color: rgb(199, 207, 60);
/* oklch */ color: oklch(82.3% 0.163 112.6);
Tailwind
colors: {
  custom: {
    50: '#dcdd7b',
    500: '#c7cf3c',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf3c;
$custom-light: #dcdd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf3c",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 60
  },
  "hsl": {
    "h": 63.265,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82263,
    "c": 0.16298,
    "h": 112.6
  },
  "luminance": 0.57094
}

Semantic roles & 50–950 ramp

primary
#C7CF3C
secondary
#37337D
accent
#44E44D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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