#C2C545#C2C545

#C2C545 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.7% C 0.148 H 110.6°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#C2C545
RGBrgb(194, 197, 69)
HSLhsl(61, 52%, 52%)
HSVhsv(61, 65%, 77%)
CMYKcmyk(1.5%, 0%, 65%, 22.7%)
CIE-LABlab(77.18, -16.94, 61.29)
CIE-LCHlch(77.18, 63.59, 105.45°)
OKLaboklab(79.75% -0.052 0.1383)
OKLCHoklch(79.75% 0.148 110.6)
XYZxyz(43.2899, 51.8326, 13.3534)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C545 #4845C5
analogous
#C58845 #C2C545 #82C545
triadic
#C2C545 #45C2C5 #C545C2
tetradic
#C2C545 #45C588 #4845C5 #C54582
square
#C2C545 #45C588 #4845C5 #C54582
split-complementary
#C2C545 #4582C5 #8845C5
monochromatic
#6C6D22 #9A9C31 #C2C545 #D1D474 #E1E2A2

Accessibility & contrast

On white

1.85
#C2C545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#C2C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C545
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C545#FFFFFF#000000##000000
##C2C5451.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD33
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#CFB9AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c545;
/* rgb */ color: rgb(194, 197, 69);
/* oklch */ color: oklch(79.7% 0.148 110.6);
Tailwind
colors: {
  custom: {
    50: '#d8d67f',
    500: '#c2c545',
    950: '#000000',
  },
}
SCSS
$custom: #c2c545;
$custom-light: #d8d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c545",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 61.406,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79745,
    "c": 0.14773,
    "h": 110.6
  },
  "luminance": 0.51832
}

Semantic roles & 50–950 ramp

primary
#C2C545
secondary
#393777
accent
#4CDC4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C545

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

Preview Lab → · Contrast checker → · Palette generator →

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