#C6C038#C6C038

#C6C038 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.9% C 0.151 H 106.8°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#C6C038
RGBrgb(198, 192, 56)
HSLhsl(57, 56%, 50%)
HSVhsv(57, 72%, 78%)
CMYKcmyk(0%, 3%, 71.7%, 22.4%)
CIE-LABlab(76.06, -13.43, 65.21)
CIE-LCHlch(76.06, 66.58, 101.64°)
OKLaboklab(78.91% -0.0437 0.1443)
OKLCHoklch(78.91% 0.151 106.8)
XYZxyz(42.8538, 49.9921, 11.1327)
Luminance0.4999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C038 #383EC6
analogous
#C67938 #C6C038 #85C638
triadic
#C6C038 #38C6C0 #C038C6
tetradic
#C6C038 #38C679 #383EC6 #C63885
square
#C6C038 #38C679 #383EC6 #C63885
split-complementary
#C6C038 #3885C6 #7938C6
monochromatic
#67631D #96922B #C6C038 #D4CF67 #E2DE97

Accessibility & contrast

On white

1.91
#C6C038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#C6C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C038
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C038#FFFFFF#000000##000000
##C6C0381.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B91F
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#D4B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c6c038;
/* rgb */ color: rgb(198, 192, 56);
/* oklch */ color: oklch(78.9% 0.151 106.8);
Tailwind
colors: {
  custom: {
    50: '#dbd278',
    500: '#c6c038',
    950: '#000000',
  },
}
SCSS
$custom: #c6c038;
$custom-light: #dbd278;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c038",
  "rgb": {
    "r": 198,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 57.465,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78905,
    "c": 0.15072,
    "h": 106.8
  },
  "luminance": 0.49991
}

Semantic roles & 50–950 ramp

primary
#C6C038
secondary
#8D8FCD
accent
#4FDF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C6C038

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

Preview Lab → · Contrast checker → · Palette generator →

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