#C7CB52#C7CB52

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

Color values

HEX#C7CB52
RGBrgb(199, 203, 82)
HSLhsl(62, 54%, 56%)
HSVhsv(62, 60%, 80%)
CMYKcmyk(2%, 0%, 59.6%, 20.4%)
CIE-LABlab(79.31, -17.02, 58.26)
CIE-LCHlch(79.31, 60.69, 106.28°)
OKLaboklab(81.57% -0.0512 0.1336)
OKLCHoklch(81.57% 0.143 111)
XYZxyz(46.4334, 55.4643, 16.2407)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB52 #5652CB
analogous
#CB9252 #C7CB52 #8BCB52
triadic
#C7CB52 #52C7CB #CB52C7
tetradic
#C7CB52 #52CB92 #5652CB #CB528B
square
#C7CB52 #52CB92 #5652CB #CB528B
split-complementary
#C7CB52 #528BCB #9252CB
monochromatic
#7A7D26 #A8AC34 #C7CB52 #D6D981 #E5E7B0

Accessibility & contrast

On white

1.74
#C7CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#C7CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB52
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB52#FFFFFF#000000##000000
##C7CB521.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#D4BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb52;
/* rgb */ color: rgb(199, 203, 82);
/* oklch */ color: oklch(81.6% 0.143 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda87',
    500: '#c7cb52',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb52;
$custom-light: #dbda87;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb52",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 61.983,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81574,
    "c": 0.14305,
    "h": 111
  },
  "luminance": 0.55463
}

Semantic roles & 50–950 ramp

primary
#C7CB52
secondary
#3F3C85
accent
#4BDD4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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