#C7CB4C#C7CB4C

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

Color values

HEX#C7CB4C
RGBrgb(199, 203, 76)
HSLhsl(62, 55%, 55%)
HSVhsv(62, 63%, 80%)
CMYKcmyk(2%, 0%, 62.6%, 20.4%)
CIE-LABlab(79.26, -17.42, 60.74)
CIE-LCHlch(79.26, 63.19, 106.00°)
OKLaboklab(81.52% -0.0529 0.138)
OKLCHoklch(81.52% 0.148 111)
XYZxyz(46.2150, 55.3769, 15.0904)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB4C #504CCB
analogous
#CB904C #C7CB4C #87CB4C
triadic
#C7CB4C #4CC7CB #CB4CC7
tetradic
#C7CB4C #4CCB90 #504CCB #CB4C87
square
#C7CB4C #4CCB90 #504CCB #CB4C87
split-complementary
#C7CB4C #4C87CB #904CCB
monochromatic
#777923 #A5A931 #C7CB4C #D6D97B #E5E7AB

Accessibility & contrast

On white

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

On black

12.08
#C7CB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB4C
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB4C#FFFFFF#000000##000000
##C7CB4C1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23C
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#D4BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb4c;
/* rgb */ color: rgb(199, 203, 76);
/* oklch */ color: oklch(81.5% 0.148 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda84',
    500: '#c7cb4c',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb4c;
$custom-light: #dbda84;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb4c",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 76
  },
  "hsl": {
    "h": 61.89,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81518,
    "c": 0.14782,
    "h": 111
  },
  "luminance": 0.55376
}

Semantic roles & 50–950 ramp

primary
#C7CB4C
secondary
#3C3A82
accent
#49DE4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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