#C7CB45#C7CB45

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

Color values

HEX#C7CB45
RGBrgb(199, 203, 69)
HSLhsl(62, 56%, 53%)
HSVhsv(62, 66%, 80%)
CMYKcmyk(2%, 0%, 66%, 20.4%)
CIE-LABlab(79.20, -17.85, 63.50)
CIE-LCHlch(79.20, 65.96, 105.70°)
OKLaboklab(81.46% -0.0548 0.1428)
OKLCHoklch(81.46% 0.153 111)
XYZxyz(45.9847, 55.2848, 13.8778)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB45 #4945CB
analogous
#CB8C45 #C7CB45 #84CB45
triadic
#C7CB45 #45C7CB #CB45C7
tetradic
#C7CB45 #45CB8C #4945CB #CB4584
square
#C7CB45 #45CB8C #4945CB #CB4584
split-complementary
#C7CB45 #4584CB #8C45CB
monochromatic
#727521 #A1A52E #C7CB45 #D5D875 #E4E6A5

Accessibility & contrast

On white

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

On black

12.06
#C7CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB45
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB45#FFFFFF#000000##000000
##C7CB451.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#D4BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb45;
/* rgb */ color: rgb(199, 203, 69);
/* oklch */ color: oklch(81.5% 0.153 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda80',
    500: '#c7cb45',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb45;
$custom-light: #dbda80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb45",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 61.791,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81459,
    "c": 0.15295,
    "h": 111
  },
  "luminance": 0.55284
}

Semantic roles & 50–950 ramp

primary
#C7CB45
secondary
#39377E
accent
#48E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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