#C2CB48#C2CB48

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

Color values

HEX#C2CB48
RGBrgb(194, 203, 72)
HSLhsl(64, 56%, 54%)
HSVhsv(64, 65%, 80%)
CMYKcmyk(4.4%, 0%, 64.5%, 20.4%)
CIE-LABlab(78.84, -19.74, 61.81)
CIE-LCHlch(78.84, 64.89, 107.71°)
OKLaboklab(81.08% -0.0596 0.1398)
OKLCHoklch(81.08% 0.152 113.1)
XYZxyz(44.7750, 54.6500, 14.3195)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB48 #5148CB
analogous
#CB9348 #C2CB48 #81CB48
triadic
#C2CB48 #48C2CB #CB48C2
tetradic
#C2CB48 #48CB93 #5148CB #CB4881
square
#C2CB48 #48CB93 #5148CB #CB4881
split-complementary
#C2CB48 #4881CB #9348CB
monochromatic
#717722 #9EA62F #C2CB48 #D2D978 #E2E6A7

Accessibility & contrast

On white

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

On black

11.93
#C2CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB48
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB48#FFFFFF#000000##000000
##C2CB481.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#D9C551
Tritanopia (blue-blind)
#CEBFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb48;
/* rgb */ color: rgb(194, 203, 72);
/* oklch */ color: oklch(81.1% 0.152 113.1);
Tailwind
colors: {
  custom: {
    50: '#d7da82',
    500: '#c2cb48',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb48;
$custom-light: #d7da82;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb48",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 64.122,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81078,
    "c": 0.15198,
    "h": 113.1
  },
  "luminance": 0.54649
}

Semantic roles & 50–950 ramp

primary
#C2CB48
secondary
#3D387F
accent
#49DF53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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