#C1CB40#C1CB40

#C1CB40 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.9% C 0.158 H 113.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C1CB40
RGBrgb(193, 203, 64)
HSLhsl(64, 57%, 52%)
HSVhsv(64, 68%, 80%)
CMYKcmyk(4.9%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.71, -20.62, 64.75)
CIE-LCHlch(78.71, 67.96, 107.67°)
OKLaboklab(80.94% -0.0628 0.1448)
OKLCHoklch(80.94% 0.158 113.4)
XYZxyz(44.2749, 54.4204, 13.0214)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CB40 #4A40CB
analogous
#CB9040 #C1CB40 #7BCB40
triadic
#C1CB40 #40C1CB #CB40C1
tetradic
#C1CB40 #40CB90 #4A40CB #CB407B
square
#C1CB40 #40CB90 #4A40CB #CB407B
split-complementary
#C1CB40 #407BCB #9040CB
monochromatic
#6C721F #99A22C #C1CB40 #D1D870 #E0E5A0

Accessibility & contrast

On white

1.77
#C1CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#C1CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CB40
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CB40#FFFFFF#000000##000000
##C1CB401.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC12A
Deuteranopia (green-blind)
#DAC44A
Tritanopia (blue-blind)
#CEBFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c1cb40;
/* rgb */ color: rgb(193, 203, 64);
/* oklch */ color: oklch(80.9% 0.158 113.4);
Tailwind
colors: {
  custom: {
    50: '#d7da7d',
    500: '#c1cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c1cb40;
$custom-light: #d7da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cb40",
  "rgb": {
    "r": 193,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 64.317,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80935,
    "c": 0.15781,
    "h": 113.4
  },
  "luminance": 0.54419
}

Semantic roles & 50–950 ramp

primary
#C1CB40
secondary
#3A357B
accent
#47E052
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C1CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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