#C6C23E#C6C23E

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

Color values

HEX#C6C23E
RGBrgb(198, 194, 62)
HSLhsl(58, 54%, 51%)
HSVhsv(58, 69%, 78%)
CMYKcmyk(0%, 2%, 68.7%, 22.4%)
CIE-LABlab(76.64, -14.14, 63.57)
CIE-LCHlch(76.64, 65.13, 102.54°)
OKLaboklab(79.38% -0.0451 0.1418)
OKLCHoklch(79.38% 0.149 107.6)
XYZxyz(43.4516, 50.9386, 12.0998)
Luminance0.5094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C23E #3E42C6
analogous
#C67E3E #C6C23E #86C63E
triadic
#C6C23E #3EC6C2 #C23EC6
tetradic
#C6C23E #3EC67E #3E42C6 #C63E86
square
#C6C23E #3EC67E #3E42C6 #C63E86
split-complementary
#C6C23E #3E86C6 #7E3EC6
monochromatic
#6A681F #99962D #C6C23E #D4D16D #E2E09C

Accessibility & contrast

On white

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

On black

11.19
#C6C23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C23E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C23E#FFFFFF#000000##000000
##C6C23E1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA29
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#D4B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c23e;
/* rgb */ color: rgb(198, 194, 62);
/* oklch */ color: oklch(79.4% 0.149 107.6);
Tailwind
colors: {
  custom: {
    50: '#dbd47b',
    500: '#c6c23e',
    950: '#000000',
  },
}
SCSS
$custom: #c6c23e;
$custom-light: #dbd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c23e",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 58.235,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79377,
    "c": 0.14882,
    "h": 107.6
  },
  "luminance": 0.50937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6C23E

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

Preview Lab → · Contrast checker → · Palette generator →

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