#C7CB40#C7CB40

#C7CB40 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.4% C 0.156 H 111.0°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#C7CB40
RGBrgb(199, 203, 64)
HSLhsl(62, 57%, 52%)
HSVhsv(62, 68%, 80%)
CMYKcmyk(2%, 0%, 68.5%, 20.4%)
CIE-LABlab(79.17, -18.12, 65.37)
CIE-LCHlch(79.17, 67.83, 105.50°)
OKLaboklab(81.42% -0.0561 0.1459)
OKLCHoklch(81.42% 0.156 111)
XYZxyz(45.8360, 55.2253, 13.0945)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB40 #4440CB
analogous
#CB8A40 #C7CB40 #81CB40
triadic
#C7CB40 #40C7CB #CB40C7
tetradic
#C7CB40 #40CB8A #4440CB #CB4081
square
#C7CB40 #40CB8A #4440CB #CB4081
split-complementary
#C7CB40 #4081CB #8A40CB
monochromatic
#6F721F #9EA22C #C7CB40 #D5D870 #E3E5A0

Accessibility & contrast

On white

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

On black

12.04
#C7CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB40
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB40#FFFFFF#000000##000000
##C7CB401.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#D5BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb40;
/* rgb */ color: rgb(199, 203, 64);
/* oklch */ color: oklch(81.4% 0.156 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda7d',
    500: '#c7cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb40;
$custom-light: #dbda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb40",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 61.727,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81421,
    "c": 0.15634,
    "h": 111
  },
  "luminance": 0.55224
}

Semantic roles & 50–950 ramp

primary
#C7CB40
secondary
#37357B
accent
#47E04C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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