#C4CB42#C4CB42

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

Color values

HEX#C4CB42
RGBrgb(196, 203, 66)
HSLhsl(63, 57%, 53%)
HSVhsv(63, 67%, 80%)
CMYKcmyk(3.4%, 0%, 67.5%, 20.4%)
CIE-LABlab(78.95, -19.27, 64.32)
CIE-LCHlch(78.95, 67.14, 106.67°)
OKLaboklab(81.19% -0.059 0.1441)
OKLCHoklch(81.19% 0.156 112.2)
XYZxyz(45.1056, 54.8420, 13.3627)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CB42 #4942CB
analogous
#CB8E42 #C4CB42 #7FCB42
triadic
#C4CB42 #42C4CB #CB42C4
tetradic
#C4CB42 #42CB8E #4942CB #CB427F
square
#C4CB42 #42CB8E #4942CB #CB427F
split-complementary
#C4CB42 #427FCB #8E42CB
monochromatic
#6F7320 #9DA32D #C4CB42 #D3D872 #E2E5A2

Accessibility & contrast

On white

1.75
#C4CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#C4CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CB42
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CB42#FFFFFF#000000##000000
##C4CB421.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#DAC54C
Tritanopia (blue-blind)
#D1BFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c4cb42;
/* rgb */ color: rgb(196, 203, 66);
/* oklch */ color: oklch(81.2% 0.156 112.2);
Tailwind
colors: {
  custom: {
    50: '#d9da7e',
    500: '#c4cb42',
    950: '#000000',
  },
}
SCSS
$custom: #c4cb42;
$custom-light: #d9da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cb42",
  "rgb": {
    "r": 196,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 63.066,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81191,
    "c": 0.15571,
    "h": 112.2
  },
  "luminance": 0.54841
}

Semantic roles & 50–950 ramp

primary
#C4CB42
secondary
#39357C
accent
#48E04F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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