#C7CB57#C7CB57

#C7CB57 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.139 H 110.9°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C7CB57
RGBrgb(199, 203, 87)
HSLhsl(62, 53%, 57%)
HSVhsv(62, 57%, 80%)
CMYKcmyk(2%, 0%, 57.1%, 20.4%)
CIE-LABlab(79.35, -16.66, 56.12)
CIE-LCHlch(79.35, 58.54, 106.53°)
OKLaboklab(81.63% -0.0496 0.1297)
OKLCHoklch(81.63% 0.139 110.9)
XYZxyz(46.6306, 55.5432, 17.2795)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB57 #5B57CB
analogous
#CB9557 #C7CB57 #8DCB57
triadic
#C7CB57 #57C7CB #CB57C7
tetradic
#C7CB57 #57CB95 #5B57CB #CB578D
square
#C7CB57 #57CB95 #5B57CB #CB578D
split-complementary
#C7CB57 #578DCB #9557CB
monochromatic
#7D8028 #ABAF36 #C7CB57 #D7D986 #E6E8B4

Accessibility & contrast

On white

1.73
#C7CB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#C7CB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB57
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB57#FFFFFF#000000##000000
##C7CB571.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34A
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D3C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cb57;
/* rgb */ color: rgb(199, 203, 87);
/* oklch */ color: oklch(81.6% 0.139 110.9);
Tailwind
colors: {
  custom: {
    50: '#dada8b',
    500: '#c7cb57',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb57;
$custom-light: #dada8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb57",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 62.069,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81625,
    "c": 0.13885,
    "h": 110.9
  },
  "luminance": 0.55542
}

Semantic roles & 50–950 ramp

primary
#C7CB57
secondary
#413F88
accent
#4CDC51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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