#C7CD4B#C7CD4B

#C7CD4B is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.9% C 0.151 H 111.8°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#C7CD4B
RGBrgb(199, 205, 75)
HSLhsl(63, 57%, 55%)
HSVhsv(63, 63%, 80%)
CMYKcmyk(2.9%, 0%, 63.4%, 19.6%)
CIE-LABlab(79.79, -18.48, 61.71)
CIE-LCHlch(79.79, 64.42, 106.67°)
OKLaboklab(81.94% -0.056 0.1399)
OKLCHoklch(81.94% 0.151 111.8)
XYZxyz(46.6558, 56.3138, 15.0672)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD4B #514BCD
analogous
#CD924B #C7CD4B #86CD4B
triadic
#C7CD4B #4BC7CD #CD4BC7
tetradic
#C7CD4B #4BCD92 #514BCD #CD4B86
square
#C7CD4B #4BCD92 #514BCD #CD4B86
split-complementary
#C7CD4B #4B86CD #924BCD
monochromatic
#777B22 #A6AB30 #C7CD4B #D6DA7B #E5E8AB

Accessibility & contrast

On white

1.71
#C7CD4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#C7CD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD4B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD4B#FFFFFF#000000##000000
##C7CD4B1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43A
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#D4C1B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd4b;
/* rgb */ color: rgb(199, 205, 75);
/* oklch */ color: oklch(81.9% 0.151 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc83',
    500: '#c7cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd4b;
$custom-light: #dbdc83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd4b",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 62.769,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81943,
    "c": 0.15072,
    "h": 111.8
  },
  "luminance": 0.56313
}

Semantic roles & 50–950 ramp

primary
#C7CD4B
secondary
#3C3983
accent
#48E04F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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