#C3CD38#C3CD38

#C3CD38 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.5% C 0.164 H 113.4°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C3CD38
RGBrgb(195, 205, 56)
HSLhsl(64, 60%, 51%)
HSVhsv(64, 73%, 80%)
CMYKcmyk(4.9%, 0%, 72.7%, 19.6%)
CIE-LABlab(79.36, -21.18, 68.28)
CIE-LCHlch(79.36, 71.49, 107.23°)
OKLaboklab(81.48% -0.0652 0.1508)
OKLCHoklch(81.48% 0.164 113.4)
XYZxyz(45.0522, 55.5512, 12.0898)
Luminance0.5555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CD38 #4238CD
analogous
#CD8C38 #C3CD38 #78CD38
triadic
#C3CD38 #38C3CD #CD38C3
tetradic
#C3CD38 #38CD8C #4238CD #CD3878
square
#C3CD38 #38CD8C #4238CD #CD3878
split-complementary
#C3CD38 #3878CD #8C38CD
monochromatic
#696F1C #98A028 #C3CD38 #D2D969 #E0E69A

Accessibility & contrast

On white

1.73
#C3CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#C3CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CD38
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CD38#FFFFFF#000000##000000
##C3CD381.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31A
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#D0C1B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c3cd38;
/* rgb */ color: rgb(195, 205, 56);
/* oklch */ color: oklch(81.5% 0.164 113.4);
Tailwind
colors: {
  custom: {
    50: '#d9dc79',
    500: '#c3cd38',
    950: '#000000',
  },
}
SCSS
$custom: #c3cd38;
$custom-light: #d9dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cd38",
  "rgb": {
    "r": 195,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 64.027,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81479,
    "c": 0.16431,
    "h": 113.4
  },
  "luminance": 0.5555
}

Semantic roles & 50–950 ramp

primary
#C3CD38
secondary
#363178
accent
#45E34F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C3CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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