#C7CE34#C7CE34

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

Color values

HEX#C7CE34
RGBrgb(199, 206, 52)
HSLhsl(63, 61%, 51%)
HSVhsv(63, 75%, 81%)
CMYKcmyk(3.4%, 0%, 74.8%, 19.2%)
CIE-LABlab(79.92, -20.17, 70.22)
CIE-LCHlch(79.92, 73.06, 106.03°)
OKLaboklab(81.99% -0.0629 0.1541)
OKLCHoklch(81.99% 0.166 112.2)
XYZxyz(46.2459, 56.5338, 11.7241)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CE34 #3B34CE
analogous
#CE8834 #C7CE34 #7ACE34
triadic
#C7CE34 #34C7CE #CE34C7
tetradic
#C7CE34 #34CE88 #3B34CE #CE347A
square
#C7CE34 #34CE88 #3B34CE #CE347A
split-complementary
#C7CE34 #347ACE #8834CE
monochromatic
#696D1A #999F26 #C7CE34 #D5DA65 #E2E697

Accessibility & contrast

On white

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

On black

12.31
#C7CE34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CE34
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CE34#FFFFFF#000000##000000
##C7CE341.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC40E
Deuteranopia (green-blind)
#DEC841
Tritanopia (blue-blind)
#D5C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7ce34;
/* rgb */ color: rgb(199, 206, 52);
/* oklch */ color: oklch(82.0% 0.166 112.2);
Tailwind
colors: {
  custom: {
    50: '#dcdc77',
    500: '#c7ce34',
    950: '#000000',
  },
}
SCSS
$custom: #c7ce34;
$custom-light: #dcdc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ce34",
  "rgb": {
    "r": 199,
    "g": 206,
    "b": 52
  },
  "hsl": {
    "h": 62.727,
    "s": 61.111,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81995,
    "c": 0.16647,
    "h": 112.2
  },
  "luminance": 0.56533
}

Semantic roles & 50–950 ramp

primary
#C7CE34
secondary
#333077
accent
#44E44B
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CE34

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

Preview Lab → · Contrast checker → · Palette generator →

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