#C2C234#C2C234

#C2C234 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#C2C234
RGBrgb(194, 194, 52)
HSLhsl(60, 58%, 48%)
HSVhsv(60, 73%, 76%)
CMYKcmyk(0%, 0%, 73.2%, 23.9%)
CIE-LABlab(76.25, -16.32, 66.66)
CIE-LCHlch(76.25, 68.63, 103.76°)
OKLaboklab(78.97% -0.0519 0.1467)
OKLCHoklch(78.97% 0.156 109.5)
XYZxyz(42.1613, 50.3021, 10.7365)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C234 #3434C2
analogous
#C27B34 #C2C234 #7BC234
triadic
#C2C234 #34C2C2 #C234C2
tetradic
#C2C234 #34C27B #3434C2 #C2347B
square
#C2C234 #34C27B #3434C2 #C2347B
split-complementary
#C2C234 #347BC2 #7B34C2
monochromatic
#61611A #929227 #C2C234 #D4D45F #E1E18F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C234#FFFFFF#000000##000000
##C2C2341.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)
#D2BA16
Deuteranopia (green-blind)
#D3BE3F
Tritanopia (blue-blind)
#D0B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c234;
/* rgb */ color: rgb(194, 194, 52);
/* oklch */ color: oklch(79.0% 0.156 109.5);
Tailwind
colors: {
  custom: {
    50: '#d8d476',
    500: '#c2c234',
    950: '#000000',
  },
}
SCSS
$custom: #c2c234;
$custom-light: #d8d476;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c234",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 52
  },
  "hsl": {
    "h": 60,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78969,
    "c": 0.15566,
    "h": 109.5
  },
  "luminance": 0.50301
}

Semantic roles & 50–950 ramp

primary
#C2C234
secondary
#2E2E6C
accent
#47E147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C234

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

Preview Lab → · Contrast checker → · Palette generator →

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