#C2C235#C2C235

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

Color values

HEX#C2C235
RGBrgb(194, 194, 53)
HSLhsl(60, 57%, 48%)
HSVhsv(60, 73%, 76%)
CMYKcmyk(0%, 0%, 72.7%, 23.9%)
CIE-LABlab(76.26, -16.28, 66.33)
CIE-LCHlch(76.26, 68.30, 103.79°)
OKLaboklab(78.98% -0.0517 0.1462)
OKLCHoklch(78.98% 0.155 109.5)
XYZxyz(42.1841, 50.3112, 10.8564)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C235 #3535C2
analogous
#C27B35 #C2C235 #7BC235
triadic
#C2C235 #35C2C2 #C235C2
tetradic
#C2C235 #35C27B #3535C2 #C2357B
square
#C2C235 #35C27B #3535C2 #C2357B
split-complementary
#C2C235 #357BC2 #7B35C2
monochromatic
#62621B #929228 #C2C235 #D4D460 #E1E191

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C235#FFFFFF#000000##000000
##C2C2351.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)
#D2BA18
Deuteranopia (green-blind)
#D3BE40
Tritanopia (blue-blind)
#D0B6A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c235;
/* rgb */ color: rgb(194, 194, 53);
/* oklch */ color: oklch(79.0% 0.155 109.5);
Tailwind
colors: {
  custom: {
    50: '#d8d477',
    500: '#c2c235',
    950: '#000000',
  },
}
SCSS
$custom: #c2c235;
$custom-light: #d8d477;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c235",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 53
  },
  "hsl": {
    "h": 60,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78976,
    "c": 0.1551,
    "h": 109.5
  },
  "luminance": 0.5031
}

Semantic roles & 50–950 ramp

primary
#C2C235
secondary
#2F2F6D
accent
#47E047
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C235

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

Preview Lab → · Contrast checker → · Palette generator →

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