#C7CB50#C7CB50

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

Color values

HEX#C7CB50
RGBrgb(199, 203, 80)
HSLhsl(62, 54%, 55%)
HSVhsv(62, 61%, 80%)
CMYKcmyk(2%, 0%, 60.6%, 20.4%)
CIE-LABlab(79.29, -17.16, 59.09)
CIE-LCHlch(79.29, 61.53, 106.19°)
OKLaboklab(81.56% -0.0518 0.1351)
OKLCHoklch(81.56% 0.145 111)
XYZxyz(46.3584, 55.4343, 15.8457)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB50 #5450CB
analogous
#CB9150 #C7CB50 #89CB50
triadic
#C7CB50 #50C7CB #CB50C7
tetradic
#C7CB50 #50CB91 #5450CB #CB5089
square
#C7CB50 #50CB91 #5450CB #CB5089
split-complementary
#C7CB50 #5089CB #9150CB
monochromatic
#797C25 #A7AB33 #C7CB50 #D6D97F #E5E7AE

Accessibility & contrast

On white

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

On black

12.09
#C7CB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB50
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB50#FFFFFF#000000##000000
##C7CB501.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cb50;
/* rgb */ color: rgb(199, 203, 80);
/* oklch */ color: oklch(81.6% 0.145 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda86',
    500: '#c7cb50',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb50;
$custom-light: #dbda86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb50",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 61.951,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81555,
    "c": 0.14468,
    "h": 111
  },
  "luminance": 0.55433
}

Semantic roles & 50–950 ramp

primary
#C7CB50
secondary
#3E3B84
accent
#4ADE4F
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CB50

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

Preview Lab → · Contrast checker → · Palette generator →

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