#C6CB3A#C6CB3A

#C6CB3A is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.3% C 0.160 H 111.5°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#C6CB3A
RGBrgb(198, 203, 58)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 71%, 80%)
CMYKcmyk(2.5%, 0%, 71.4%, 20.4%)
CIE-LABlab(79.06, -18.84, 67.39)
CIE-LCHlch(79.06, 69.97, 105.62°)
OKLaboklab(81.3% -0.0586 0.1492)
OKLCHoklch(81.3% 0.16 111.5)
XYZxyz(45.4099, 55.0243, 12.2308)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CB3A #3F3ACB
analogous
#CB873A #C6CB3A #7DCB3A
triadic
#C6CB3A #3AC6CB #CB3AC6
tetradic
#C6CB3A #3ACB87 #3F3ACB #CB3A7D
square
#C6CB3A #3ACB87 #3F3ACB #CB3A7D
split-complementary
#C6CB3A #3A7DCB #873ACB
monochromatic
#6B6E1D #9A9E2A #C6CB3A #D4D86A #E2E59B

Accessibility & contrast

On white

1.75
#C6CB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#C6CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CB3A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CB3A#FFFFFF#000000##000000
##C6CB3A1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21F
Deuteranopia (green-blind)
#DBC645
Tritanopia (blue-blind)
#D4BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cb3a;
/* rgb */ color: rgb(198, 203, 58);
/* oklch */ color: oklch(81.3% 0.160 111.5);
Tailwind
colors: {
  custom: {
    50: '#dbda7a',
    500: '#c6cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6cb3a;
$custom-light: #dbda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cb3a",
  "rgb": {
    "r": 198,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 62.069,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81297,
    "c": 0.16031,
    "h": 111.5
  },
  "luminance": 0.55023
}

Semantic roles & 50–950 ramp

primary
#C6CB3A
secondary
#343277
accent
#46E14C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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