#C7CE42#C7CE42

#C7CE42 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.1% C 0.158 H 112.2°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#C7CE42
RGBrgb(199, 206, 66)
HSLhsl(63, 59%, 53%)
HSVhsv(63, 68%, 81%)
CMYKcmyk(3.4%, 0%, 68%, 19.2%)
CIE-LABlab(80.00, -19.50, 65.45)
CIE-LCHlch(80.00, 68.29, 106.59°)
OKLaboklab(82.09% -0.0598 0.1464)
OKLCHoklch(82.09% 0.158 112.2)
XYZxyz(46.6093, 56.6792, 13.6381)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CE42 #4942CE
analogous
#CE8F42 #C7CE42 #81CE42
triadic
#C7CE42 #42C7CE #CE42C7
tetradic
#C7CE42 #42CE8F #4942CE #CE4281
square
#C7CE42 #42CE8F #4942CE #CE4281
split-complementary
#C7CE42 #4281CE #8F42CE
monochromatic
#72771F #A1A72B #C7CE42 #D5DB73 #E4E7A3

Accessibility & contrast

On white

1.70
#C7CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#C7CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CE42
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CE42#FFFFFF#000000##000000
##C7CE421.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC52C
Deuteranopia (green-blind)
#DEC84C
Tritanopia (blue-blind)
#D4C2B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7ce42;
/* rgb */ color: rgb(199, 206, 66);
/* oklch */ color: oklch(82.1% 0.158 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdc7f',
    500: '#c7ce42',
    950: '#000000',
  },
}
SCSS
$custom: #c7ce42;
$custom-light: #dbdc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ce42",
  "rgb": {
    "r": 199,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 63,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82087,
    "c": 0.15814,
    "h": 112.2
  },
  "luminance": 0.56678
}

Semantic roles & 50–950 ramp

primary
#C7CE42
secondary
#39357F
accent
#46E24E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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