#C7CB3C#C7CB3C

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

Color values

HEX#C7CB3C
RGBrgb(199, 203, 60)
HSLhsl(62, 58%, 52%)
HSVhsv(62, 70%, 80%)
CMYKcmyk(2%, 0%, 70.4%, 20.4%)
CIE-LABlab(79.15, -18.33, 66.80)
CIE-LCHlch(79.15, 69.27, 105.34°)
OKLaboklab(81.39% -0.0571 0.1483)
OKLCHoklch(81.39% 0.159 111.1)
XYZxyz(45.7262, 55.1814, 12.5164)
Luminance0.5518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB3C #403CCB
analogous
#CB883C #C7CB3C #80CB3C
triadic
#C7CB3C #3CC7CB #CB3CC7
tetradic
#C7CB3C #3CCB88 #403CCB #CB3C80
square
#C7CB3C #3CCB88 #403CCB #CB3C80
split-complementary
#C7CB3C #3C80CB #883CCB
monochromatic
#6D6F1E #9C9F2A #C7CB3C #D5D86C #E3E59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CB3C#FFFFFF#000000##000000
##C7CB3C1.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)
#DBC223
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#D5BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb3c;
/* rgb */ color: rgb(199, 203, 60);
/* oklch */ color: oklch(81.4% 0.159 111.1);
Tailwind
colors: {
  custom: {
    50: '#dcda7b',
    500: '#c7cb3c',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb3c;
$custom-light: #dcda7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb3c",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 60
  },
  "hsl": {
    "h": 61.678,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81393,
    "c": 0.15887,
    "h": 111.1
  },
  "luminance": 0.5518
}

Semantic roles & 50–950 ramp

primary
#C7CB3C
secondary
#353378
accent
#47E14B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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