#C2C754#C2C754

#C2C754 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.3% C 0.138 H 111.4°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#C2C754
RGBrgb(194, 199, 84)
HSLhsl(63, 51%, 55%)
HSVhsv(63, 58%, 78%)
CMYKcmyk(2.5%, 0%, 57.8%, 22%)
CIE-LABlab(77.85, -16.94, 55.67)
CIE-LCHlch(77.85, 58.19, 106.92°)
OKLaboklab(80.32% -0.0504 0.1285)
OKLCHoklch(80.32% 0.138 111.4)
XYZxyz(44.2729, 52.9573, 16.2754)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C754 #5954C7
analogous
#C79354 #C2C754 #88C754
triadic
#C2C754 #54C2C7 #C754C2
tetradic
#C2C754 #54C793 #5954C7 #C75488
square
#C2C754 #54C793 #5954C7 #C75488
split-complementary
#C2C754 #5488C7 #9354C7
monochromatic
#757928 #A2A737 #C2C754 #D2D682 #E3E5B0

Accessibility & contrast

On white

1.81
#C2C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#C2C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C754
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C754#FFFFFF#000000##000000
##C2C7541.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF47
Deuteranopia (green-blind)
#D6C25B
Tritanopia (blue-blind)
#CEBCAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c754;
/* rgb */ color: rgb(194, 199, 84);
/* oklch */ color: oklch(80.3% 0.138 111.4);
Tailwind
colors: {
  custom: {
    50: '#d7d788',
    500: '#c2c754',
    950: '#000000',
  },
}
SCSS
$custom: #c2c754;
$custom-light: #d7d788;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c754",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 62.609,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80319,
    "c": 0.13799,
    "h": 111.4
  },
  "luminance": 0.52956
}

Semantic roles & 50–950 ramp

primary
#C2C754
secondary
#413E82
accent
#4EDA54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C754

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

Preview Lab → · Contrast checker → · Palette generator →

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