#C7CE57#C7CE57

#C7CE57 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.3% C 0.142 H 112.3°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#C7CE57
RGBrgb(199, 206, 87)
HSLhsl(64, 55%, 57%)
HSVhsv(64, 58%, 81%)
CMYKcmyk(3.4%, 0%, 57.8%, 19.2%)
CIE-LABlab(80.16, -18.15, 57.02)
CIE-LCHlch(80.16, 59.84, 107.65°)
OKLaboklab(82.27% -0.0538 0.1316)
OKLCHoklch(82.27% 0.142 112.3)
XYZxyz(47.3459, 56.9738, 17.5179)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CE57 #5E57CE
analogous
#CE9957 #C7CE57 #8CCE57
triadic
#C7CE57 #57C7CE #CE57C7
tetradic
#C7CE57 #57CE99 #5E57CE #CE578C
square
#C7CE57 #57CE99 #5E57CE #CE578C
split-complementary
#C7CE57 #578CCE #9957CE
monochromatic
#7F8427 #ACB334 #C7CE57 #D7DC86 #E7EAB6

Accessibility & contrast

On white

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

On black

12.39
#C7CE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CE57
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CE57#FFFFFF#000000##000000
##C7CE571.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54A
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#D3C3B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7ce57;
/* rgb */ color: rgb(199, 206, 87);
/* oklch */ color: oklch(82.3% 0.142 112.3);
Tailwind
colors: {
  custom: {
    50: '#dadc8b',
    500: '#c7ce57',
    950: '#000000',
  },
}
SCSS
$custom: #c7ce57;
$custom-light: #dadc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ce57",
  "rgb": {
    "r": 199,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 63.529,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82273,
    "c": 0.14219,
    "h": 112.3
  },
  "luminance": 0.56973
}

Semantic roles & 50–950 ramp

primary
#C7CE57
secondary
#433E8B
accent
#4ADE52
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CE57

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

Preview Lab → · Contrast checker → · Palette generator →

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