#C7CB4A#C7CB4A

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

Color values

HEX#C7CB4A
RGBrgb(199, 203, 74)
HSLhsl(62, 55%, 54%)
HSVhsv(62, 64%, 80%)
CMYKcmyk(2%, 0%, 63.5%, 20.4%)
CIE-LABlab(79.24, -17.55, 61.54)
CIE-LCHlch(79.24, 63.99, 105.91°)
OKLaboklab(81.5% -0.0535 0.1394)
OKLCHoklch(81.5% 0.149 111)
XYZxyz(46.1465, 55.3495, 14.7299)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB4A #4E4ACB
analogous
#CB8E4A #C7CB4A #87CB4A
triadic
#C7CB4A #4AC7CB #CB4AC7
tetradic
#C7CB4A #4ACB8E #4E4ACB #CB4A87
square
#C7CB4A #4ACB8E #4E4ACB #CB4A87
split-complementary
#C7CB4A #4A87CB #8E4ACB
monochromatic
#757823 #A4A830 #C7CB4A #D6D97A #E4E6A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CB4A#FFFFFF#000000##000000
##C7CB4A1.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)
#DAC239
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#D4BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb4a;
/* rgb */ color: rgb(199, 203, 74);
/* oklch */ color: oklch(81.5% 0.149 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda83',
    500: '#c7cb4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb4a;
$custom-light: #dbda83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb4a",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 61.86,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81501,
    "c": 0.14933,
    "h": 111
  },
  "luminance": 0.55348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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