#C6C23C#C6C23C

#C6C23C is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.4% C 0.150 H 107.7°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#C6C23C
RGBrgb(198, 194, 60)
HSLhsl(58, 55%, 51%)
HSVhsv(58, 70%, 78%)
CMYKcmyk(0%, 2%, 69.7%, 22.4%)
CIE-LABlab(76.63, -14.25, 64.31)
CIE-LCHlch(76.63, 65.87, 102.49°)
OKLaboklab(79.36% -0.0456 0.143)
OKLCHoklch(79.36% 0.15 107.7)
XYZxyz(43.3977, 50.9170, 11.8160)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C23C #3C40C6
analogous
#C67D3C #C6C23C #85C63C
triadic
#C6C23C #3CC6C2 #C23CC6
tetradic
#C6C23C #3CC67D #3C40C6 #C63C85
square
#C6C23C #3CC67D #3C40C6 #C63C85
split-complementary
#C6C23C #3C85C6 #7D3CC6
monochromatic
#69671F #98952D #C6C23C #D4D16B #E2E09B

Accessibility & contrast

On white

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

On black

11.18
#C6C23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C23C
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C23C#FFFFFF#000000##000000
##C6C23C1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA26
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#D4B5A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c23c;
/* rgb */ color: rgb(198, 194, 60);
/* oklch */ color: oklch(79.4% 0.150 107.7);
Tailwind
colors: {
  custom: {
    50: '#dbd47a',
    500: '#c6c23c',
    950: '#000000',
  },
}
SCSS
$custom: #c6c23c;
$custom-light: #dbd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c23c",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 58.261,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79363,
    "c": 0.15013,
    "h": 107.7
  },
  "luminance": 0.50916
}

Semantic roles & 50–950 ramp

primary
#C6C23C
secondary
#333573
accent
#4EDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C23C

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

Preview Lab → · Contrast checker → · Palette generator →

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