#C6C235#C6C235

#C6C235 is a light, vivid yellow. Relative luminance 0.508; 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#C6C235
RGBrgb(198, 194, 53)
HSLhsl(58, 58%, 49%)
HSVhsv(58, 73%, 78%)
CMYKcmyk(0%, 2%, 73.2%, 22.4%)
CIE-LABlab(76.59, -14.58, 66.75)
CIE-LCHlch(76.59, 68.33, 102.32°)
OKLaboklab(79.32% -0.0472 0.147)
OKLCHoklch(79.32% 0.154 107.8)
XYZxyz(43.2248, 50.8478, 10.9052)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C235 #3539C6
analogous
#C67A35 #C6C235 #82C635
triadic
#C6C235 #35C6C2 #C235C6
tetradic
#C6C235 #35C67A #3539C6 #C63582
square
#C6C235 #35C67A #3539C6 #C63582
split-complementary
#C6C235 #3582C6 #7A35C6
monochromatic
#65631B #969328 #C6C235 #D5D263 #E2E093

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6C235#FFFFFF#000000##000000
##C6C2351.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)
#D2BA18
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#D4B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c235;
/* rgb */ color: rgb(198, 194, 53);
/* oklch */ color: oklch(79.3% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#dbd477',
    500: '#c6c235',
    950: '#000000',
  },
}
SCSS
$custom: #c6c235;
$custom-light: #dbd477;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c235",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 53
  },
  "hsl": {
    "h": 58.345,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79316,
    "c": 0.15435,
    "h": 107.8
  },
  "luminance": 0.50846
}

Semantic roles & 50–950 ramp

primary
#C6C235
secondary
#2F3170
accent
#4BE147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C235

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

Preview Lab → · Contrast checker → · Palette generator →

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