#C2C845#C2C845

#C2C845 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.4% C 0.151 H 111.9°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#C2C845
RGBrgb(194, 200, 69)
HSLhsl(63, 54%, 53%)
HSVhsv(63, 66%, 78%)
CMYKcmyk(3%, 0%, 65.5%, 21.6%)
CIE-LABlab(78.00, -18.44, 62.13)
CIE-LCHlch(78.00, 64.81, 106.53°)
OKLaboklab(80.4% -0.0562 0.1401)
OKLCHoklch(80.4% 0.151 111.9)
XYZxyz(43.9779, 53.2086, 13.5827)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C845 #4B45C8
analogous
#C88C45 #C2C845 #80C845
triadic
#C2C845 #45C2C8 #C845C2
tetradic
#C2C845 #45C88C #4B45C8 #C84580
square
#C2C845 #45C88C #4B45C8 #C84580
split-complementary
#C2C845 #4580C8 #8C45C8
monochromatic
#6D7121 #9BA02F #C2C845 #D1D674 #E1E4A3

Accessibility & contrast

On white

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

On black

11.64
#C2C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C845
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C845#FFFFFF#000000##000000
##C2C8451.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#CFBCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c845;
/* rgb */ color: rgb(194, 200, 69);
/* oklch */ color: oklch(80.4% 0.151 111.9);
Tailwind
colors: {
  custom: {
    50: '#d8d880',
    500: '#c2c845',
    950: '#000000',
  },
}
SCSS
$custom: #c2c845;
$custom-light: #d8d880;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c845",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 62.748,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80398,
    "c": 0.15092,
    "h": 111.9
  },
  "luminance": 0.53208
}

Semantic roles & 50–950 ramp

primary
#C2C845
secondary
#3A377A
accent
#4ADE51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C845

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

Preview Lab → · Contrast checker → · Palette generator →

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