#C7CB42#C7CB42

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

Color values

HEX#C7CB42
RGBrgb(199, 203, 66)
HSLhsl(62, 57%, 53%)
HSVhsv(62, 67%, 80%)
CMYKcmyk(2%, 0%, 67.5%, 20.4%)
CIE-LABlab(79.18, -18.02, 64.63)
CIE-LCHlch(79.18, 67.09, 105.58°)
OKLaboklab(81.44% -0.0556 0.1447)
OKLCHoklch(81.44% 0.155 111)
XYZxyz(45.8939, 55.2485, 13.3997)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB42 #4642CB
analogous
#CB8B42 #C7CB42 #82CB42
triadic
#C7CB42 #42C7CB #CB42C7
tetradic
#C7CB42 #42CB8B #4642CB #CB4282
square
#C7CB42 #42CB8B #4642CB #CB4282
split-complementary
#C7CB42 #4282CB #8B42CB
monochromatic
#717320 #A0A32D #C7CB42 #D5D872 #E3E5A2

Accessibility & contrast

On white

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

On black

12.05
#C7CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB42
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB42#FFFFFF#000000##000000
##C7CB421.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cb42;
/* rgb */ color: rgb(199, 203, 66);
/* oklch */ color: oklch(81.4% 0.155 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbda7e',
    500: '#c7cb42',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb42;
$custom-light: #dbda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb42",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 61.752,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81436,
    "c": 0.15501,
    "h": 111
  },
  "luminance": 0.55247
}

Semantic roles & 50–950 ramp

primary
#C7CB42
secondary
#37357C
accent
#48E04C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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