#C2CB54#C2CB54

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

Color values

HEX#C2CB54
RGBrgb(194, 203, 84)
HSLhsl(65, 53%, 56%)
HSVhsv(65, 59%, 80%)
CMYKcmyk(4.4%, 0%, 58.6%, 20.4%)
CIE-LABlab(78.94, -18.93, 56.87)
CIE-LCHlch(78.94, 59.94, 108.41°)
OKLaboklab(81.19% -0.0561 0.131)
OKLCHoklch(81.19% 0.143 113.2)
XYZxyz(45.2054, 54.8222, 16.5862)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB54 #5D54CB
analogous
#CB9954 #C2CB54 #87CB54
triadic
#C2CB54 #54C2CB #CB54C2
tetradic
#C2CB54 #54CB99 #5D54CB #CB5487
square
#C2CB54 #54CB99 #5D54CB #CB5487
split-complementary
#C2CB54 #5487CB #9954CB
monochromatic
#787E26 #A4AD35 #C2CB54 #D3D983 #E3E8B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CB54#FFFFFF#000000##000000
##C2CB541.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)
#D9C247
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb54;
/* rgb */ color: rgb(194, 203, 84);
/* oklch */ color: oklch(81.2% 0.142 113.2);
Tailwind
colors: {
  custom: {
    50: '#d7da89',
    500: '#c2cb54',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb54;
$custom-light: #d7da89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb54",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 64.538,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8119,
    "c": 0.1425,
    "h": 113.2
  },
  "luminance": 0.54821
}

Semantic roles & 50–950 ramp

primary
#C2CB54
secondary
#433D86
accent
#4BDD56
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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