#C7CB47#C7CB47

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

Color values

HEX#C7CB47
RGBrgb(199, 203, 71)
HSLhsl(62, 56%, 54%)
HSVhsv(62, 65%, 80%)
CMYKcmyk(2%, 0%, 65%, 20.4%)
CIE-LABlab(79.22, -17.73, 62.72)
CIE-LCHlch(79.22, 65.18, 105.78°)
OKLaboklab(81.47% -0.0543 0.1415)
OKLCHoklch(81.47% 0.152 111)
XYZxyz(46.0479, 55.3101, 14.2102)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB47 #4B47CB
analogous
#CB8D47 #C7CB47 #85CB47
triadic
#C7CB47 #47C7CB #CB47C7
tetradic
#C7CB47 #47CB8D #4B47CB #CB4785
square
#C7CB47 #47CB8D #4B47CB #CB4785
split-complementary
#C7CB47 #4785CB #8D47CB
monochromatic
#747621 #A2A62F #C7CB47 #D6D877 #E4E6A6

Accessibility & contrast

On white

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

On black

12.06
#C7CB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB47
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB47#FFFFFF#000000##000000
##C7CB471.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cb47;
/* rgb */ color: rgb(199, 203, 71);
/* oklch */ color: oklch(81.5% 0.152 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda81',
    500: '#c7cb47',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb47;
$custom-light: #dbda81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb47",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 61.818,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81475,
    "c": 0.15153,
    "h": 111
  },
  "luminance": 0.55309
}

Semantic roles & 50–950 ramp

primary
#C7CB47
secondary
#3A377F
accent
#49DF4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CB47

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

Preview Lab → · Contrast checker → · Palette generator →

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