#C3CB40#C3CB40

#C3CB40 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.1% C 0.157 H 112.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C3CB40
RGBrgb(195, 203, 64)
HSLhsl(63, 57%, 52%)
HSVhsv(63, 68%, 80%)
CMYKcmyk(3.9%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.86, -19.79, 64.95)
CIE-LCHlch(78.86, 67.90, 106.95°)
OKLaboklab(81.1% -0.0606 0.1452)
OKLCHoklch(81.1% 0.157 112.6)
XYZxyz(44.7884, 54.6851, 13.0454)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CB40 #4840CB
analogous
#CB8D40 #C3CB40 #7ECB40
triadic
#C3CB40 #40C3CB #CB40C3
tetradic
#C3CB40 #40CB8D #4840CB #CB407E
square
#C3CB40 #40CB8D #4840CB #CB407E
split-complementary
#C3CB40 #407ECB #8D40CB
monochromatic
#6D721F #9BA22C #C3CB40 #D2D870 #E1E5A0

Accessibility & contrast

On white

1.76
#C3CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#C3CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CB40
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CB40#FFFFFF#000000##000000
##C3CB401.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#D0BFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c3cb40;
/* rgb */ color: rgb(195, 203, 64);
/* oklch */ color: oklch(81.1% 0.157 112.6);
Tailwind
colors: {
  custom: {
    50: '#d8da7d',
    500: '#c3cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c3cb40;
$custom-light: #d8da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cb40",
  "rgb": {
    "r": 195,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 63.453,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81095,
    "c": 0.1573,
    "h": 112.6
  },
  "luminance": 0.54684
}

Semantic roles & 50–950 ramp

primary
#C3CB40
secondary
#39357B
accent
#47E050
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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