#C3C238#C3C238

#C3C238 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.1% C 0.153 H 109.0°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#C3C238
RGBrgb(195, 194, 56)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 76%)
CMYKcmyk(0%, 0.5%, 71.3%, 23.5%)
CIE-LABlab(76.36, -15.71, 65.41)
CIE-LCHlch(76.36, 67.27, 103.51°)
OKLaboklab(79.08% -0.0499 0.1448)
OKLCHoklch(79.08% 0.153 109)
XYZxyz(42.5128, 50.4725, 11.2434)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C238 #3839C3
analogous
#C37D38 #C3C238 #7FC338
triadic
#C3C238 #38C3C2 #C238C3
tetradic
#C3C238 #38C37D #3839C3 #C3387F
square
#C3C238 #38C37D #3839C3 #C3387F
split-complementary
#C3C238 #387FC3 #7D38C3
monochromatic
#64631D #93932A #C3C238 #D3D265 #E1E095

Accessibility & contrast

On white

1.89
#C3C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#C3C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C238
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C238#FFFFFF#000000##000000
##C3C2381.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3c238;
/* rgb */ color: rgb(195, 194, 56);
/* oklch */ color: oklch(79.1% 0.153 109.0);
Tailwind
colors: {
  custom: {
    50: '#d9d478',
    500: '#c3c238',
    950: '#000000',
  },
}
SCSS
$custom: #c3c238;
$custom-light: #d9d478;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c238",
  "rgb": {
    "r": 195,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 59.568,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7908,
    "c": 0.15314,
    "h": 109
  },
  "luminance": 0.50471
}

Semantic roles & 50–950 ramp

primary
#C3C238
secondary
#31316E
accent
#4ADF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C3C238

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

Preview Lab → · Contrast checker → · Palette generator →

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