#C2C239#C2C239

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

Color values

HEX#C2C239
RGBrgb(194, 194, 57)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 76%)
CMYKcmyk(0%, 0%, 70.6%, 23.9%)
CIE-LABlab(76.28, -16.09, 64.95)
CIE-LCHlch(76.28, 66.92, 103.91°)
OKLaboklab(79% -0.0508 0.144)
OKLCHoklch(79% 0.153 109.4)
XYZxyz(42.2799, 50.3496, 11.3614)
Luminance0.5035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C239 #3939C2
analogous
#C27E39 #C2C239 #7EC239
triadic
#C2C239 #39C2C2 #C239C2
tetradic
#C2C239 #39C27E #3939C2 #C2397E
square
#C2C239 #39C27E #3939C2 #C2397E
split-complementary
#C2C239 #397EC2 #7E39C2
monochromatic
#63631D #93932B #C2C239 #D2D266 #E0E095

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C239#FFFFFF#000000##000000
##C2C2391.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)
#D2BA21
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#D0B6A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c239;
/* rgb */ color: rgb(194, 194, 57);
/* oklch */ color: oklch(79.0% 0.153 109.4);
Tailwind
colors: {
  custom: {
    50: '#d8d479',
    500: '#c2c239',
    950: '#000000',
  },
}
SCSS
$custom: #c2c239;
$custom-light: #d8d479;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c239",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79002,
    "c": 0.15272,
    "h": 109.4
  },
  "luminance": 0.50348
}

Semantic roles & 50–950 ramp

primary
#C2C239
secondary
#31316E
accent
#4ADE4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C239

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

Preview Lab → · Contrast checker → · Palette generator →

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