#C7CB49#C7CB49

#C7CB49 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.150 H 111.0°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#C7CB49
RGBrgb(199, 203, 73)
HSLhsl(62, 56%, 54%)
HSVhsv(62, 64%, 80%)
CMYKcmyk(2%, 0%, 64%, 20.4%)
CIE-LABlab(79.23, -17.61, 61.94)
CIE-LCHlch(79.23, 64.39, 105.87°)
OKLaboklab(81.49% -0.0538 0.1401)
OKLCHoklch(81.49% 0.15 111)
XYZxyz(46.1131, 55.3362, 14.5539)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB49 #4D49CB
analogous
#CB8E49 #C7CB49 #86CB49
triadic
#C7CB49 #49C7CB #CB49C7
tetradic
#C7CB49 #49CB8E #4D49CB #CB4986
square
#C7CB49 #49CB8E #4D49CB #CB4986
split-complementary
#C7CB49 #4986CB #8E49CB
monochromatic
#757722 #A3A730 #C7CB49 #D6D979 #E4E6A8

Accessibility & contrast

On white

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

On black

12.07
#C7CB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB49
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB49#FFFFFF#000000##000000
##C7CB491.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#D4BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb49;
/* rgb */ color: rgb(199, 203, 73);
/* oklch */ color: oklch(81.5% 0.150 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda82',
    500: '#c7cb49',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb49;
$custom-light: #dbda82;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb49",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 73
  },
  "hsl": {
    "h": 61.846,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81492,
    "c": 0.15007,
    "h": 111
  },
  "luminance": 0.55335
}

Semantic roles & 50–950 ramp

primary
#C7CB49
secondary
#3A3880
accent
#49DF4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CB49

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

Preview Lab → · Contrast checker → · Palette generator →

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