#C6C236#C6C236

#C6C236 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.3% C 0.154 H 107.8°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#C6C236
RGBrgb(198, 194, 54)
HSLhsl(58, 57%, 49%)
HSVhsv(58, 73%, 78%)
CMYKcmyk(0%, 2%, 72.7%, 22.4%)
CIE-LABlab(76.59, -14.53, 66.42)
CIE-LCHlch(76.59, 67.99, 102.34°)
OKLaboklab(79.32% -0.047 0.1464)
OKLCHoklch(79.32% 0.154 107.8)
XYZxyz(43.2480, 50.8571, 11.0276)
Luminance0.5086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C236 #363AC6
analogous
#C67A36 #C6C236 #82C636
triadic
#C6C236 #36C6C2 #C236C6
tetradic
#C6C236 #36C67A #363AC6 #C63682
square
#C6C236 #36C67A #363AC6 #C63682
split-complementary
#C6C236 #3682C6 #7A36C6
monochromatic
#66641C #969329 #C6C236 #D5D264 #E2E094

Accessibility & contrast

On white

1.88
#C6C236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#C6C236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C236
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C236#FFFFFF#000000##000000
##C6C2361.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1B
Deuteranopia (green-blind)
#D5BF41
Tritanopia (blue-blind)
#D4B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c236;
/* rgb */ color: rgb(198, 194, 54);
/* oklch */ color: oklch(79.3% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#dbd477',
    500: '#c6c236',
    950: '#000000',
  },
}
SCSS
$custom: #c6c236;
$custom-light: #dbd477;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c236",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 54
  },
  "hsl": {
    "h": 58.333,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79322,
    "c": 0.15379,
    "h": 107.8
  },
  "luminance": 0.50856
}

Semantic roles & 50–950 ramp

primary
#C6C236
secondary
#303270
accent
#4CE047
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C236

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

Preview Lab → · Contrast checker → · Palette generator →

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