#C4CB40#C4CB40

#C4CB40 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.157 H 112.2°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C4CB40
RGBrgb(196, 203, 64)
HSLhsl(63, 57%, 52%)
HSVhsv(63, 68%, 80%)
CMYKcmyk(3.4%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.94, -19.37, 65.06)
CIE-LCHlch(78.94, 67.88, 106.58°)
OKLaboklab(81.18% -0.0595 0.1454)
OKLCHoklch(81.18% 0.157 112.2)
XYZxyz(45.0477, 54.8188, 13.0576)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CB40 #4740CB
analogous
#CB8D40 #C4CB40 #7ECB40
triadic
#C4CB40 #40C4CB #CB40C4
tetradic
#C4CB40 #40CB8D #4740CB #CB407E
square
#C4CB40 #40CB8D #4740CB #CB407E
split-complementary
#C4CB40 #407ECB #8D40CB
monochromatic
#6D721F #9CA22C #C4CB40 #D3D870 #E2E5A0

Accessibility & contrast

On white

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

On black

11.96
#C4CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CB40
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CB40#FFFFFF#000000##000000
##C4CB401.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4cb40;
/* rgb */ color: rgb(196, 203, 64);
/* oklch */ color: oklch(81.2% 0.157 112.2);
Tailwind
colors: {
  custom: {
    50: '#d9da7d',
    500: '#c4cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c4cb40;
$custom-light: #d9da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cb40",
  "rgb": {
    "r": 196,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 63.022,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81176,
    "c": 0.15704,
    "h": 112.2
  },
  "luminance": 0.54818
}

Semantic roles & 50–950 ramp

primary
#C4CB40
secondary
#38357B
accent
#47E04F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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