#C2C348#C2C348

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

Color values

HEX#C2C348
RGBrgb(194, 195, 72)
HSLhsl(60, 51%, 52%)
HSVhsv(60, 63%, 76%)
CMYKcmyk(0.5%, 0%, 63.1%, 23.5%)
CIE-LABlab(76.66, -15.76, 59.53)
CIE-LCHlch(76.66, 61.58, 104.83°)
OKLaboklab(79.34% -0.0484 0.135)
OKLCHoklch(79.34% 0.143 109.7)
XYZxyz(42.9343, 50.9686, 13.7059)
Luminance0.5097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C348 #4948C3
analogous
#C38748 #C2C348 #84C348
triadic
#C2C348 #48C2C3 #C348C2
tetradic
#C2C348 #48C387 #4948C3 #C34884
square
#C2C348 #48C387 #4948C3 #C34884
split-complementary
#C2C348 #4884C3 #8748C3
monochromatic
#6C6D24 #9A9B33 #C2C348 #D1D276 #E1E1A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C348#FFFFFF#000000##000000
##C2C3481.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)
#D2BB38
Deuteranopia (green-blind)
#D3BF50
Tritanopia (blue-blind)
#CFB7AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c348;
/* rgb */ color: rgb(194, 195, 72);
/* oklch */ color: oklch(79.3% 0.143 109.7);
Tailwind
colors: {
  custom: {
    50: '#d7d481',
    500: '#c2c348',
    950: '#000000',
  },
}
SCSS
$custom: #c2c348;
$custom-light: #d7d481;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c348",
  "rgb": {
    "r": 194,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 60.488,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79336,
    "c": 0.1434,
    "h": 109.7
  },
  "luminance": 0.50967
}

Semantic roles & 50–950 ramp

primary
#C2C348
secondary
#393977
accent
#4EDA4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C348

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

Preview Lab → · Contrast checker → · Palette generator →

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