#C7CE2B#C7CE2B

#C7CE2B is a light, vivid yellow. Relative luminance 0.565; OKLCH L 81.9% C 0.171 H 112.2°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#C7CE2B
RGBrgb(199, 206, 43)
HSLhsl(63, 65%, 49%)
HSVhsv(63, 79%, 81%)
CMYKcmyk(3.4%, 0%, 79.1%, 19.2%)
CIE-LABlab(79.88, -20.51, 72.85)
CIE-LCHlch(79.88, 75.68, 105.73°)
OKLaboklab(81.95% -0.0646 0.1581)
OKLCHoklch(81.95% 0.171 112.2)
XYZxyz(46.0621, 56.4603, 10.7565)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CE2B #322BCE
analogous
#CE842B #C7CE2B #76CE2B
triadic
#C7CE2B #2BC7CE #CE2BC7
tetradic
#C7CE2B #2BCE84 #322BCE #CE2B76
square
#C7CE2B #2BCE84 #322BCE #CE2B76
split-complementary
#C7CE2B #2B76CE #842BCE
monochromatic
#656916 #969B20 #C7CE2B #D7DC5A #E3E78C

Accessibility & contrast

On white

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

On black

12.29
#C7CE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CE2B
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CE2B#FFFFFF#000000##000000
##C7CE2B1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DFC83B
Tritanopia (blue-blind)
#D5C1B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7ce2b;
/* rgb */ color: rgb(199, 206, 43);
/* oklch */ color: oklch(81.9% 0.171 112.2);
Tailwind
colors: {
  custom: {
    50: '#dcdc74',
    500: '#c7ce2b',
    950: '#000000',
  },
}
SCSS
$custom: #c7ce2b;
$custom-light: #dcdc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ce2b",
  "rgb": {
    "r": 199,
    "g": 206,
    "b": 43
  },
  "hsl": {
    "h": 62.577,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81949,
    "c": 0.17081,
    "h": 112.2
  },
  "luminance": 0.56459
}

Semantic roles & 50–950 ramp

primary
#C7CE2B
secondary
#2E2B73
accent
#3FE847
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C7CE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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