#C3CF38#C3CF38

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

Color values

HEX#C3CF38
RGBrgb(195, 207, 56)
HSLhsl(65, 61%, 52%)
HSVhsv(65, 73%, 81%)
CMYKcmyk(5.8%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.91, -22.15, 68.80)
CIE-LCHlch(79.91, 72.28, 107.85°)
OKLaboklab(81.92% -0.0679 0.1519)
OKLCHoklch(81.92% 0.166 114.1)
XYZxyz(45.5336, 56.5142, 12.2503)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CF38 #4438CF
analogous
#CF9038 #C3CF38 #78CF38
triadic
#C3CF38 #38C3CF #CF38C3
tetradic
#C3CF38 #38CF90 #4438CF #CF3878
square
#C3CF38 #38CF90 #4438CF #CF3878
split-complementary
#C3CF38 #3878CF #9038CF
monochromatic
#6A711B #99A327 #C3CF38 #D2DB69 #E1E79B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3CF38#FFFFFF#000000##000000
##C3CF381.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)
#DEC519
Deuteranopia (green-blind)
#DEC745
Tritanopia (blue-blind)
#D0C3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c3cf38;
/* rgb */ color: rgb(195, 207, 56);
/* oklch */ color: oklch(81.9% 0.166 114.1);
Tailwind
colors: {
  custom: {
    50: '#d9dd79',
    500: '#c3cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c3cf38;
$custom-light: #d9dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cf38",
  "rgb": {
    "r": 195,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 64.768,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81918,
    "c": 0.16641,
    "h": 114.1
  },
  "luminance": 0.56513
}

Semantic roles & 50–950 ramp

primary
#C3CF38
secondary
#37317A
accent
#44E450
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C3CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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