#C7CB46#C7CB46

#C7CB46 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#C7CB46
RGBrgb(199, 203, 70)
HSLhsl(62, 56%, 54%)
HSVhsv(62, 66%, 80%)
CMYKcmyk(2%, 0%, 65.5%, 20.4%)
CIE-LABlab(79.21, -17.79, 63.11)
CIE-LCHlch(79.21, 65.57, 105.74°)
OKLaboklab(81.47% -0.0546 0.1421)
OKLCHoklch(81.47% 0.152 111)
XYZxyz(46.0160, 55.2973, 14.0426)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB46 #4A46CB
analogous
#CB8D46 #C7CB46 #84CB46
triadic
#C7CB46 #46C7CB #CB46C7
tetradic
#C7CB46 #46CB8D #4A46CB #CB4684
square
#C7CB46 #46CB8D #4A46CB #CB4684
split-complementary
#C7CB46 #4684CB #8D46CB
monochromatic
#737621 #A2A52E #C7CB46 #D5D876 #E4E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CB46#FFFFFF#000000##000000
##C7CB461.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)
#DAC233
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#D4BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb46;
/* rgb */ color: rgb(199, 203, 70);
/* oklch */ color: oklch(81.5% 0.152 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda80',
    500: '#c7cb46',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb46;
$custom-light: #dbda80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb46",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 70
  },
  "hsl": {
    "h": 61.805,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81467,
    "c": 0.15225,
    "h": 111
  },
  "luminance": 0.55296
}

Semantic roles & 50–950 ramp

primary
#C7CB46
secondary
#39377E
accent
#48DF4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CB46

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

Preview Lab → · Contrast checker → · Palette generator →

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