#C7CB3A#C7CB3A

#C7CB3A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.4% C 0.160 H 111.1°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#C7CB3A
RGBrgb(199, 203, 58)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 71%, 80%)
CMYKcmyk(2%, 0%, 71.4%, 20.4%)
CIE-LABlab(79.13, -18.42, 67.49)
CIE-LCHlch(79.13, 69.96, 105.27°)
OKLaboklab(81.38% -0.0575 0.1494)
OKLCHoklch(81.38% 0.16 111.1)
XYZxyz(45.6744, 55.1607, 12.2432)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB3A #3E3ACB
analogous
#CB863A #C7CB3A #7ECB3A
triadic
#C7CB3A #3AC7CB #CB3AC7
tetradic
#C7CB3A #3ACB86 #3E3ACB #CB3A7E
square
#C7CB3A #3ACB86 #3E3ACB #CB3A7E
split-complementary
#C7CB3A #3A7ECB #863ACB
monochromatic
#6B6E1D #9B9E2A #C7CB3A #D5D86A #E3E59B

Accessibility & contrast

On white

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

On black

12.03
#C7CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB3A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB3A#FFFFFF#000000##000000
##C7CB3A1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cb3a;
/* rgb */ color: rgb(199, 203, 58);
/* oklch */ color: oklch(81.4% 0.160 111.1);
Tailwind
colors: {
  custom: {
    50: '#dcda7a',
    500: '#c7cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb3a;
$custom-light: #dcda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb3a",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 61.655,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81379,
    "c": 0.16008,
    "h": 111.1
  },
  "luminance": 0.55159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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