#C2CB45#C2CB45

#C2CB45 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.1% C 0.154 H 113.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#C2CB45
RGBrgb(194, 203, 69)
HSLhsl(64, 56%, 53%)
HSVhsv(64, 66%, 80%)
CMYKcmyk(4.4%, 0%, 66%, 20.4%)
CIE-LABlab(78.82, -19.92, 62.98)
CIE-LCHlch(78.82, 66.05, 107.56°)
OKLaboklab(81.05% -0.0604 0.1418)
OKLCHoklch(81.05% 0.154 113.1)
XYZxyz(44.6795, 54.6118, 13.8166)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB45 #4E45CB
analogous
#CB9145 #C2CB45 #7FCB45
triadic
#C2CB45 #45C2CB #CB45C2
tetradic
#C2CB45 #45CB91 #4E45CB #CB457F
square
#C2CB45 #45CB91 #4E45CB #CB457F
split-complementary
#C2CB45 #457FCB #9145CB
monochromatic
#6F7521 #9DA52E #C2CB45 #D2D875 #E1E6A5

Accessibility & contrast

On white

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

On black

11.92
#C2CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB45
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB45#FFFFFF#000000##000000
##C2CB451.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#CFBFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb45;
/* rgb */ color: rgb(194, 203, 69);
/* oklch */ color: oklch(81.1% 0.154 113.1);
Tailwind
colors: {
  custom: {
    50: '#d8da80',
    500: '#c2cb45',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb45;
$custom-light: #d8da80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb45",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 64.03,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81053,
    "c": 0.15414,
    "h": 113.1
  },
  "luminance": 0.54611
}

Semantic roles & 50–950 ramp

primary
#C2CB45
secondary
#3B377E
accent
#48E052
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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