#C1C840#C1C840

#C1C840 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.3% C 0.155 H 112.3°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#C1C840
RGBrgb(193, 200, 64)
HSLhsl(63, 55%, 52%)
HSVhsv(63, 68%, 78%)
CMYKcmyk(3.5%, 0%, 68%, 21.6%)
CIE-LABlab(77.89, -19.14, 63.93)
CIE-LCHlch(77.89, 66.73, 106.67°)
OKLaboklab(80.28% -0.0586 0.1431)
OKLCHoklch(80.28% 0.155 112.3)
XYZxyz(43.5733, 53.0172, 12.7875)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C840 #4740C8
analogous
#C88B40 #C1C840 #7DC840
triadic
#C1C840 #40C1C8 #C840C1
tetradic
#C1C840 #40C88B #4740C8 #C8407D
square
#C1C840 #40C88B #4740C8 #C8407D
split-complementary
#C1C840 #407DC8 #8B40C8
monochromatic
#6A6E20 #989D2D #C1C840 #D0D670 #E0E39F

Accessibility & contrast

On white

1.81
#C1C840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#C1C840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C840
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C840#FFFFFF#000000##000000
##C1C8401.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#CEBCAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c1c840;
/* rgb */ color: rgb(193, 200, 64);
/* oklch */ color: oklch(80.3% 0.155 112.3);
Tailwind
colors: {
  custom: {
    50: '#d7d87d',
    500: '#c1c840',
    950: '#000000',
  },
}
SCSS
$custom: #c1c840;
$custom-light: #d7d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c840",
  "rgb": {
    "r": 193,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 63.088,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80277,
    "c": 0.15461,
    "h": 112.3
  },
  "luminance": 0.53016
}

Semantic roles & 50–950 ramp

primary
#C1C840
secondary
#383577
accent
#49DF51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C1C840

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

Preview Lab → · Contrast checker → · Palette generator →

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