#C2C238#C2C238

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

Color values

HEX#C2C238
RGBrgb(194, 194, 56)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 76%)
CMYKcmyk(0%, 0%, 71.1%, 23.9%)
CIE-LABlab(76.28, -16.14, 65.30)
CIE-LCHlch(76.28, 67.27, 103.88°)
OKLaboklab(79% -0.0511 0.1446)
OKLCHoklch(79% 0.153 109.5)
XYZxyz(42.2552, 50.3397, 11.2313)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C238 #3838C2
analogous
#C27D38 #C2C238 #7DC238
triadic
#C2C238 #38C2C2 #C238C2
tetradic
#C2C238 #38C27D #3838C2 #C2387D
square
#C2C238 #38C27D #3838C2 #C2387D
split-complementary
#C2C238 #387DC2 #7D38C2
monochromatic
#63631D #93932A #C2C238 #D2D265 #E0E094

Accessibility & contrast

On white

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

On black

11.07
#C2C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C238
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C238#FFFFFF#000000##000000
##C2C2381.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1F
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#D0B6A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c238;
/* rgb */ color: rgb(194, 194, 56);
/* oklch */ color: oklch(79.0% 0.153 109.5);
Tailwind
colors: {
  custom: {
    50: '#d8d478',
    500: '#c2c238',
    950: '#000000',
  },
}
SCSS
$custom: #c2c238;
$custom-light: #d8d478;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c238",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78995,
    "c": 0.15333,
    "h": 109.5
  },
  "luminance": 0.50338
}

Semantic roles & 50–950 ramp

primary
#C2C238
secondary
#31316E
accent
#49DF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C238

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

Preview Lab → · Contrast checker → · Palette generator →

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