#C2C345#C2C345

#C2C345 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.3% C 0.146 H 109.7°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#C2C345
RGBrgb(194, 195, 69)
HSLhsl(60, 51%, 52%)
HSVhsv(60, 65%, 76%)
CMYKcmyk(0.5%, 0%, 64.6%, 23.5%)
CIE-LABlab(76.64, -15.94, 60.73)
CIE-LCHlch(76.64, 62.78, 104.71°)
OKLaboklab(79.31% -0.0492 0.1371)
OKLCHoklch(79.31% 0.146 109.7)
XYZxyz(42.8388, 50.9304, 13.2030)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C345 #4645C3
analogous
#C38545 #C2C345 #83C345
triadic
#C2C345 #45C2C3 #C345C2
tetradic
#C2C345 #45C385 #4645C3 #C34583
square
#C2C345 #45C385 #4645C3 #C34583
split-complementary
#C2C345 #4583C3 #8545C3
monochromatic
#6A6B23 #999931 #C2C345 #D1D273 #E0E1A2

Accessibility & contrast

On white

1.88
#C2C345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#C2C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C345
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C345#FFFFFF#000000##000000
##C2C3451.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D3BF4D
Tritanopia (blue-blind)
#CFB7A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c345;
/* rgb */ color: rgb(194, 195, 69);
/* oklch */ color: oklch(79.3% 0.146 109.7);
Tailwind
colors: {
  custom: {
    50: '#d7d47f',
    500: '#c2c345',
    950: '#000000',
  },
}
SCSS
$custom: #c2c345;
$custom-light: #d7d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c345",
  "rgb": {
    "r": 194,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 60.476,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7931,
    "c": 0.14564,
    "h": 109.7
  },
  "luminance": 0.50929
}

Semantic roles & 50–950 ramp

primary
#C2C345
secondary
#383775
accent
#4DDB4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C345

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

Preview Lab → · Contrast checker → · Palette generator →

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