#C7CE30#C7CE30

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

Color values

HEX#C7CE30
RGBrgb(199, 206, 48)
HSLhsl(63, 62%, 50%)
HSVhsv(63, 77%, 81%)
CMYKcmyk(3.4%, 0%, 76.7%, 19.2%)
CIE-LABlab(79.90, -20.33, 71.44)
CIE-LCHlch(79.90, 74.27, 105.89°)
OKLaboklab(81.97% -0.0637 0.156)
OKLCHoklch(81.97% 0.169 112.2)
XYZxyz(46.1596, 56.4993, 11.2696)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CE30 #3730CE
analogous
#CE8630 #C7CE30 #78CE30
triadic
#C7CE30 #30C7CE #CE30C7
tetradic
#C7CE30 #30CE86 #3730CE #CE3078
square
#C7CE30 #30CE86 #3730CE #CE3078
split-complementary
#C7CE30 #3078CE #8630CE
monochromatic
#676B19 #979C24 #C7CE30 #D5DA61 #E2E693

Accessibility & contrast

On white

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

On black

12.30
#C7CE30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CE30
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CE30#FFFFFF#000000##000000
##C7CE301.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ce30;
/* rgb */ color: rgb(199, 206, 48);
/* oklch */ color: oklch(82.0% 0.169 112.2);
Tailwind
colors: {
  custom: {
    50: '#dcdc76',
    500: '#c7ce30',
    950: '#000000',
  },
}
SCSS
$custom: #c7ce30;
$custom-light: #dcdc76;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ce30",
  "rgb": {
    "r": 199,
    "g": 206,
    "b": 48
  },
  "hsl": {
    "h": 62.658,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81973,
    "c": 0.1685,
    "h": 112.2
  },
  "luminance": 0.56498
}

Semantic roles & 50–950 ramp

primary
#C7CE30
secondary
#312E74
accent
#43E54A
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C7CE30

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

Preview Lab → · Contrast checker → · Palette generator →

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