#C6C135#C6C135

#C6C135 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.1% C 0.153 H 107.4°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#C6C135
RGBrgb(198, 193, 53)
HSLhsl(58, 58%, 49%)
HSVhsv(58, 73%, 78%)
CMYKcmyk(0%, 2.5%, 73.2%, 22.4%)
CIE-LABlab(76.32, -14.07, 66.50)
CIE-LCHlch(76.32, 67.97, 101.95°)
OKLaboklab(79.1% -0.0458 0.1464)
OKLCHoklch(79.1% 0.153 107.4)
XYZxyz(43.0030, 50.4042, 10.8312)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C135 #353AC6
analogous
#C67935 #C6C135 #83C635
triadic
#C6C135 #35C6C1 #C135C6
tetradic
#C6C135 #35C679 #353AC6 #C63583
square
#C6C135 #35C679 #353AC6 #C63583
split-complementary
#C6C135 #3583C6 #7935C6
monochromatic
#65631B #969228 #C6C135 #D5D163 #E2DF93

Accessibility & contrast

On white

1.90
#C6C135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#C6C135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C135
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C135#FFFFFF#000000##000000
##C6C1351.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B919
Deuteranopia (green-blind)
#D4BF40
Tritanopia (blue-blind)
#D4B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c6c135;
/* rgb */ color: rgb(198, 193, 53);
/* oklch */ color: oklch(79.1% 0.153 107.4);
Tailwind
colors: {
  custom: {
    50: '#dbd376',
    500: '#c6c135',
    950: '#000000',
  },
}
SCSS
$custom: #c6c135;
$custom-light: #dbd376;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c135",
  "rgb": {
    "r": 198,
    "g": 193,
    "b": 53
  },
  "hsl": {
    "h": 57.931,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79101,
    "c": 0.15341,
    "h": 107.4
  },
  "luminance": 0.50403
}

Semantic roles & 50–950 ramp

primary
#C6C135
secondary
#2F3270
accent
#4CE147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C135

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

Preview Lab → · Contrast checker → · Palette generator →

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