#C7CB3B#C7CB3B

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

Color values

HEX#C7CB3B
RGBrgb(199, 203, 59)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 71%, 80%)
CMYKcmyk(2%, 0%, 70.9%, 20.4%)
CIE-LABlab(79.14, -18.38, 67.15)
CIE-LCHlch(79.14, 69.62, 105.31°)
OKLaboklab(81.39% -0.0573 0.1488)
OKLCHoklch(81.39% 0.159 111.1)
XYZxyz(45.7001, 55.1710, 12.3785)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB3B #3F3BCB
analogous
#CB873B #C7CB3B #7FCB3B
triadic
#C7CB3B #3BC7CB #CB3BC7
tetradic
#C7CB3B #3BCB87 #3F3BCB #CB3B7F
square
#C7CB3B #3BCB87 #3F3BCB #CB3B7F
split-complementary
#C7CB3B #3B7FCB #873BCB
monochromatic
#6C6E1D #9B9F2A #C7CB3B #D5D86B #E3E59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CB3B#FFFFFF#000000##000000
##C7CB3B1.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)
#DBC221
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#D5BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb3b;
/* rgb */ color: rgb(199, 203, 59);
/* oklch */ color: oklch(81.4% 0.159 111.1);
Tailwind
colors: {
  custom: {
    50: '#dcda7b',
    500: '#c7cb3b',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb3b;
$custom-light: #dcda7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb3b",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 61.667,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81386,
    "c": 0.15948,
    "h": 111.1
  },
  "luminance": 0.5517
}

Semantic roles & 50–950 ramp

primary
#C7CB3B
secondary
#343378
accent
#47E14B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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