#C6C230#C6C230

#C6C230 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.3% C 0.157 H 107.9°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#C6C230
RGBrgb(198, 194, 48)
HSLhsl(58, 61%, 48%)
HSVhsv(58, 76%, 78%)
CMYKcmyk(0%, 2%, 75.8%, 22.4%)
CIE-LABlab(76.56, -14.79, 68.37)
CIE-LCHlch(76.56, 69.95, 102.20°)
OKLaboklab(79.29% -0.0482 0.1495)
OKLCHoklch(79.29% 0.157 107.9)
XYZxyz(43.1157, 50.8042, 10.3308)
Luminance0.5080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C230 #3034C6
analogous
#C67730 #C6C230 #7FC630
triadic
#C6C230 #30C6C2 #C230C6
tetradic
#C6C230 #30C677 #3034C6 #C6307F
square
#C6C230 #30C677 #3034C6 #C6307F
split-complementary
#C6C230 #307FC6 #7730C6
monochromatic
#636118 #959224 #C6C230 #D7D45C #E3E18D

Accessibility & contrast

On white

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

On black

11.16
#C6C230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C230
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C230#FFFFFF#000000##000000
##C6C2301.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0A
Deuteranopia (green-blind)
#D5BF3C
Tritanopia (blue-blind)
#D5B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c230;
/* rgb */ color: rgb(198, 194, 48);
/* oklch */ color: oklch(79.3% 0.157 107.9);
Tailwind
colors: {
  custom: {
    50: '#dbd474',
    500: '#c6c230',
    950: '#000000',
  },
}
SCSS
$custom: #c6c230;
$custom-light: #dbd474;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c230",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 48
  },
  "hsl": {
    "h": 58.4,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79286,
    "c": 0.15707,
    "h": 107.9
  },
  "luminance": 0.50803
}

Semantic roles & 50–950 ramp

primary
#C6C230
secondary
#2C2E6E
accent
#48E444
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C230

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

Preview Lab → · Contrast checker → · Palette generator →

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