#C7CB48#C7CB48

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

Color values

HEX#C7CB48
RGBrgb(199, 203, 72)
HSLhsl(62, 56%, 54%)
HSVhsv(62, 65%, 80%)
CMYKcmyk(2%, 0%, 64.5%, 20.4%)
CIE-LABlab(79.23, -17.67, 62.33)
CIE-LCHlch(79.23, 64.79, 105.83°)
OKLaboklab(81.48% -0.054 0.1408)
OKLCHoklch(81.48% 0.151 111)
XYZxyz(46.0802, 55.3230, 14.3807)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB48 #4C48CB
analogous
#CB8E48 #C7CB48 #86CB48
triadic
#C7CB48 #48C7CB #CB48C7
tetradic
#C7CB48 #48CB8E #4C48CB #CB4886
square
#C7CB48 #48CB8E #4C48CB #CB4886
split-complementary
#C7CB48 #4886CB #8E48CB
monochromatic
#747722 #A3A62F #C7CB48 #D6D978 #E4E6A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CB48#FFFFFF#000000##000000
##C7CB481.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)
#DAC236
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#D4BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb48;
/* rgb */ color: rgb(199, 203, 72);
/* oklch */ color: oklch(81.5% 0.151 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda82',
    500: '#c7cb48',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb48;
$custom-light: #dbda82;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb48",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 61.832,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.15081,
    "h": 111
  },
  "luminance": 0.55322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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