#C2C854#C2C854

#C2C854 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.5% C 0.139 H 111.9°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#C2C854
RGBrgb(194, 200, 84)
HSLhsl(63, 51%, 56%)
HSVhsv(63, 58%, 78%)
CMYKcmyk(3%, 0%, 58%, 21.6%)
CIE-LABlab(78.12, -17.44, 55.97)
CIE-LCHlch(78.12, 58.62, 107.30°)
OKLaboklab(80.54% -0.0518 0.1291)
OKLCHoklch(80.54% 0.139 111.9)
XYZxyz(44.5038, 53.4189, 16.3523)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C854 #5A54C8
analogous
#C89454 #C2C854 #88C854
triadic
#C2C854 #54C2C8 #C854C2
tetradic
#C2C854 #54C894 #5A54C8 #C85488
square
#C2C854 #54C894 #5A54C8 #C85488
split-complementary
#C2C854 #5488C8 #9454C8
monochromatic
#767A27 #A3A936 #C2C854 #D3D782 #E3E6B1

Accessibility & contrast

On white

1.80
#C2C854 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#C2C854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C854
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C854#FFFFFF#000000##000000
##C2C8541.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C047
Deuteranopia (green-blind)
#D6C35B
Tritanopia (blue-blind)
#CEBDAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c854;
/* rgb */ color: rgb(194, 200, 84);
/* oklch */ color: oklch(80.5% 0.139 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d888',
    500: '#c2c854',
    950: '#000000',
  },
}
SCSS
$custom: #c2c854;
$custom-light: #d7d888;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c854",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 63.103,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80536,
    "c": 0.13911,
    "h": 111.9
  },
  "luminance": 0.53418
}

Semantic roles & 50–950 ramp

primary
#C2C854
secondary
#413E83
accent
#4DDB54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C854

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

Preview Lab → · Contrast checker → · Palette generator →

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