#C7CB39#C7CB39

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

Color values

HEX#C7CB39
RGBrgb(199, 203, 57)
HSLhsl(62, 58%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(2%, 0%, 71.9%, 20.4%)
CIE-LABlab(79.13, -18.47, 67.83)
CIE-LCHlch(79.13, 70.30, 105.23°)
OKLaboklab(81.37% -0.0577 0.1499)
OKLCHoklch(81.37% 0.161 111.1)
XYZxyz(45.6492, 55.1506, 12.1106)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB39 #3D39CB
analogous
#CB8639 #C7CB39 #7ECB39
triadic
#C7CB39 #39C7CB #CB39C7
tetradic
#C7CB39 #39CB86 #3D39CB #CB397E
square
#C7CB39 #39CB86 #3D39CB #CB397E
split-complementary
#C7CB39 #397ECB #8639CB
monochromatic
#6B6D1D #9A9D29 #C7CB39 #D5D869 #E2E49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CB39#FFFFFF#000000##000000
##C7CB391.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)
#DBC21D
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#D5BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb39;
/* rgb */ color: rgb(199, 203, 57);
/* oklch */ color: oklch(81.4% 0.161 111.1);
Tailwind
colors: {
  custom: {
    50: '#dcda7a',
    500: '#c7cb39',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb39;
$custom-light: #dcda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb39",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 61.644,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81373,
    "c": 0.16067,
    "h": 111.1
  },
  "luminance": 0.55149
}

Semantic roles & 50–950 ramp

primary
#C7CB39
secondary
#343276
accent
#46E24A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CB39

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

Preview Lab → · Contrast checker → · Palette generator →

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