#C6C237#C6C237

#C6C237 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.3% C 0.153 H 107.8°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#C6C237
RGBrgb(198, 194, 55)
HSLhsl(58, 57%, 50%)
HSVhsv(58, 72%, 78%)
CMYKcmyk(0%, 2%, 72.2%, 22.4%)
CIE-LABlab(76.60, -14.49, 66.08)
CIE-LCHlch(76.60, 67.64, 102.37°)
OKLaboklab(79.33% -0.0467 0.1459)
OKLCHoklch(79.33% 0.153 107.8)
XYZxyz(43.2717, 50.8666, 11.1525)
Luminance0.5087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C237 #373BC6
analogous
#C67B37 #C6C237 #82C637
triadic
#C6C237 #37C6C2 #C237C6
tetradic
#C6C237 #37C67B #373BC6 #C63782
square
#C6C237 #37C67B #373BC6 #C63782
split-complementary
#C6C237 #3782C6 #7B37C6
monochromatic
#66641C #96932A #C6C237 #D4D166 #E2E096

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6C237#FFFFFF#000000##000000
##C6C2371.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)
#D2BA1D
Deuteranopia (green-blind)
#D5BF41
Tritanopia (blue-blind)
#D4B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c6c237;
/* rgb */ color: rgb(198, 194, 55);
/* oklch */ color: oklch(79.3% 0.153 107.8);
Tailwind
colors: {
  custom: {
    50: '#dbd478',
    500: '#c6c237',
    950: '#000000',
  },
}
SCSS
$custom: #c6c237;
$custom-light: #dbd478;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c237",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 58.322,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79329,
    "c": 0.1532,
    "h": 107.8
  },
  "luminance": 0.50865
}

Semantic roles & 50–950 ramp

primary
#C6C237
secondary
#313270
accent
#4CE048
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C237

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

Preview Lab → · Contrast checker → · Palette generator →

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