#C2C233#C2C233

#C2C233 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.156 H 109.5°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C2C233
RGBrgb(194, 194, 51)
HSLhsl(60, 58%, 48%)
HSVhsv(60, 74%, 76%)
CMYKcmyk(0%, 0%, 73.7%, 23.9%)
CIE-LABlab(76.25, -16.37, 66.99)
CIE-LCHlch(76.25, 68.96, 103.73°)
OKLaboklab(78.96% -0.0521 0.1473)
OKLCHoklch(78.96% 0.156 109.5)
XYZxyz(42.1390, 50.2932, 10.6191)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C233 #3333C2
analogous
#C27A33 #C2C233 #7AC233
triadic
#C2C233 #33C2C2 #C233C2
tetradic
#C2C233 #33C27A #3333C2 #C2337A
square
#C2C233 #33C27A #3333C2 #C2337A
split-complementary
#C2C233 #337AC2 #7A33C2
monochromatic
#61611A #929226 #C2C233 #D5D55E #E1E18E

Accessibility & contrast

On white

1.90
#C2C233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#C2C233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C233
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C233#FFFFFF#000000##000000
##C2C2331.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA14
Deuteranopia (green-blind)
#D4BE3E
Tritanopia (blue-blind)
#D0B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c233;
/* rgb */ color: rgb(194, 194, 51);
/* oklch */ color: oklch(79.0% 0.156 109.5);
Tailwind
colors: {
  custom: {
    50: '#d8d476',
    500: '#c2c233',
    950: '#000000',
  },
}
SCSS
$custom: #c2c233;
$custom-light: #d8d476;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c233",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78963,
    "c": 0.15622,
    "h": 109.5
  },
  "luminance": 0.50292
}

Semantic roles & 50–950 ramp

primary
#C2C233
secondary
#2D2D6C
accent
#46E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C233

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

Preview Lab → · Contrast checker → · Palette generator →

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