#C1D938#C1D938

#C1D938 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.0% C 0.178 H 117.9°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#C1D938
RGBrgb(193, 217, 56)
HSLhsl(69, 68%, 54%)
HSVhsv(69, 74%, 85%)
CMYKcmyk(11.1%, 0%, 74.2%, 14.9%)
CIE-LABlab(82.51, -27.78, 71.22)
CIE-LCHlch(82.51, 76.44, 111.31°)
OKLaboklab(83.98% -0.0833 0.1571)
OKLCHoklch(83.98% 0.178 117.9)
XYZxyz(47.5201, 61.2492, 13.0595)
Luminance0.6125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1D938 #5038D9
analogous
#D9A038 #C1D938 #70D938
triadic
#C1D938 #38C1D9 #D938C1
tetradic
#C1D938 #38D9A0 #5038D9 #D93870
square
#C1D938 #38D9A0 #5038D9 #D93870
split-complementary
#C1D938 #3870D9 #A038D9
monochromatic
#6F7E18 #9CB222 #C1D938 #D1E36B #E1ED9F

Accessibility & contrast

On white

1.58
#C1D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#C1D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1D938
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1D938#FFFFFF#000000##000000
##C1D9381.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD12
Deuteranopia (green-blind)
#E5CE46
Tritanopia (blue-blind)
#CDCDBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c1d938;
/* rgb */ color: rgb(193, 217, 56);
/* oklch */ color: oklch(84.0% 0.178 117.9);
Tailwind
colors: {
  custom: {
    50: '#d7e47a',
    500: '#c1d938',
    950: '#000000',
  },
}
SCSS
$custom: #c1d938;
$custom-light: #d7e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c1d938",
  "rgb": {
    "r": 193,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 68.944,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83975,
    "c": 0.17784,
    "h": 117.9
  },
  "luminance": 0.61249
}

Semantic roles & 50–950 ramp

primary
#C1D938
secondary
#3C3086
accent
#3DEB57
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C1D938

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

Preview Lab → · Contrast checker → · Palette generator →

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