#C7CB51#C7CB51

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

Color values

HEX#C7CB51
RGBrgb(199, 203, 81)
HSLhsl(62, 54%, 56%)
HSVhsv(62, 60%, 80%)
CMYKcmyk(2%, 0%, 60.1%, 20.4%)
CIE-LABlab(79.30, -17.09, 58.68)
CIE-LCHlch(79.30, 61.12, 106.24°)
OKLaboklab(81.56% -0.0515 0.1344)
OKLCHoklch(81.56% 0.144 111)
XYZxyz(46.3956, 55.4492, 16.0417)
Luminance0.5545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB51 #5551CB
analogous
#CB9251 #C7CB51 #8ACB51
triadic
#C7CB51 #51C7CB #CB51C7
tetradic
#C7CB51 #51CB92 #5551CB #CB518A
square
#C7CB51 #51CB92 #5551CB #CB518A
split-complementary
#C7CB51 #518ACB #9251CB
monochromatic
#7A7C25 #A8AC33 #C7CB51 #D6D980 #E5E7AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CB51#FFFFFF#000000##000000
##C7CB511.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)
#DAC343
Deuteranopia (green-blind)
#DBC658
Tritanopia (blue-blind)
#D4BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb51;
/* rgb */ color: rgb(199, 203, 81);
/* oklch */ color: oklch(81.6% 0.144 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda87',
    500: '#c7cb51',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb51;
$custom-light: #dbda87;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb51",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 61.967,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81564,
    "c": 0.14387,
    "h": 111
  },
  "luminance": 0.55448
}

Semantic roles & 50–950 ramp

primary
#C7CB51
secondary
#3E3C84
accent
#4ADD4F
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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