#C1CD38#C1CD38

#C1CD38 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.3% C 0.165 H 114.1°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C1CD38
RGBrgb(193, 205, 56)
HSLhsl(65, 60%, 51%)
HSVhsv(65, 73%, 80%)
CMYKcmyk(5.9%, 0%, 72.7%, 19.6%)
CIE-LABlab(79.21, -22.01, 68.08)
CIE-LCHlch(79.21, 71.55, 107.91°)
OKLaboklab(81.32% -0.0674 0.1505)
OKLCHoklch(81.32% 0.165 114.1)
XYZxyz(44.5388, 55.2865, 12.0657)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CD38 #4438CD
analogous
#CD8E38 #C1CD38 #76CD38
triadic
#C1CD38 #38C1CD #CD38C1
tetradic
#C1CD38 #38CD8E #4438CD #CD3876
square
#C1CD38 #38CD8E #4438CD #CD3876
split-complementary
#C1CD38 #3876CD #8E38CD
monochromatic
#686F1C #96A028 #C1CD38 #D0D969 #DFE69A

Accessibility & contrast

On white

1.74
#C1CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#C1CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CD38
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CD38#FFFFFF#000000##000000
##C1CD381.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1cd38;
/* rgb */ color: rgb(193, 205, 56);
/* oklch */ color: oklch(81.3% 0.165 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7dc79',
    500: '#c1cd38',
    950: '#000000',
  },
}
SCSS
$custom: #c1cd38;
$custom-light: #d7dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cd38",
  "rgb": {
    "r": 193,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 64.832,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81319,
    "c": 0.16488,
    "h": 114.1
  },
  "luminance": 0.55286
}

Semantic roles & 50–950 ramp

primary
#C1CD38
secondary
#373178
accent
#45E352
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C1CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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