#C7CF45#C7CF45

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

Color values

HEX#C7CF45
RGBrgb(199, 207, 69)
HSLhsl(63, 59%, 54%)
HSVhsv(63, 67%, 81%)
CMYKcmyk(3.9%, 0%, 66.7%, 18.8%)
CIE-LABlab(80.29, -19.82, 64.60)
CIE-LCHlch(80.29, 67.58, 107.06°)
OKLaboklab(82.33% -0.0604 0.1451)
OKLCHoklch(82.33% 0.157 112.6)
XYZxyz(46.9415, 57.1985, 14.1967)
Luminance0.5720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF45 #4D45CF
analogous
#CF9245 #C7CF45 #82CF45
triadic
#C7CF45 #45C7CF #CF45C7
tetradic
#C7CF45 #45CF92 #4D45CF #CF4582
square
#C7CF45 #45CF92 #4D45CF #CF4582
split-complementary
#C7CF45 #4582CF #9245CF
monochromatic
#757A20 #A3AB2C #C7CF45 #D6DC76 #E4E8A6

Accessibility & contrast

On white

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

On black

12.44
#C7CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF45
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF45#FFFFFF#000000##000000
##C7CF451.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC631
Deuteranopia (green-blind)
#DEC94F
Tritanopia (blue-blind)
#D4C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf45;
/* rgb */ color: rgb(199, 207, 69);
/* oklch */ color: oklch(82.3% 0.157 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdd80',
    500: '#c7cf45',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf45;
$custom-light: #dbdd80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf45",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 63.478,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82328,
    "c": 0.15717,
    "h": 112.6
  },
  "luminance": 0.57197
}

Semantic roles & 50–950 ramp

primary
#C7CF45
secondary
#3A3682
accent
#46E24F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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