#C7CB34#C7CB34

#C7CB34 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.3% C 0.163 H 111.1°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C7CB34
RGBrgb(199, 203, 52)
HSLhsl(62, 59%, 50%)
HSVhsv(62, 74%, 80%)
CMYKcmyk(2%, 0%, 74.4%, 20.4%)
CIE-LABlab(79.10, -18.69, 69.47)
CIE-LCHlch(79.10, 71.94, 105.06°)
OKLaboklab(81.34% -0.0588 0.1525)
OKLCHoklch(81.34% 0.163 111.1)
XYZxyz(45.5305, 55.1031, 11.4857)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB34 #3834CB
analogous
#CB8334 #C7CB34 #7CCB34
triadic
#C7CB34 #34C7CB #CB34C7
tetradic
#C7CB34 #34CB83 #3834CB #CB347C
square
#C7CB34 #34CB83 #3834CB #CB347C
split-complementary
#C7CB34 #347CCB #8334CB
monochromatic
#676A1B #979A28 #C7CB34 #D4D765 #E2E495

Accessibility & contrast

On white

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

On black

12.02
#C7CB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB34
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB34#FFFFFF#000000##000000
##C7CB341.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cb34;
/* rgb */ color: rgb(199, 203, 52);
/* oklch */ color: oklch(81.3% 0.163 111.1);
Tailwind
colors: {
  custom: {
    50: '#dcda77',
    500: '#c7cb34',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb34;
$custom-light: #dcda77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb34",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 52
  },
  "hsl": {
    "h": 61.589,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.81342,
    "c": 0.16347,
    "h": 111.1
  },
  "luminance": 0.55102
}

Semantic roles & 50–950 ramp

primary
#C7CB34
secondary
#323073
accent
#45E24A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C7CB34

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

Preview Lab → · Contrast checker → · Palette generator →

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